ansys / pyaedt

AEDT Python Client Package
https://aedt.docs.pyansys.com
MIT License
207 stars 128 forks source link

Install PyAedt with error #5379

Closed anspraksaph closed 1 day ago

anspraksaph commented 1 week ago

Before submitting the issue

Description of the bug

Install PaAedt with error

Image

Steps To Reproduce

Clone PyAedt any place example C:\pyaedt Open command line and type these command:

Which Operating System are you using?

Windows

Which Python version are you using?

3.11

Installed packages

Nothin come up Image

SMoraisAnsys commented 6 days ago

Hi @anspraksaph. I was not aware that you could provide a target like C:\pyaedt.[tests] to pip install ! I tried what you just described on my laptop and it worked in my case.

Below is the code I used. Note that I am:

C:\Users\smorais\AppData\Local\hatch\pythons\3.11\python\python.exe -m venv venv311
 .\venv311\Scripts\activate
python -m pip install pip -U
python -m pip install wheel setuptools -U
python -m pip install C:\Users\smorais\pyaedt.[tests]

Image

On top of being able to install it myself, we do have CI jobs that consist in testing the installation of pyaedt with the combination of: