how to run cpython and pyaedt from electronics desktop
Best Answer
-
Hi @byang ,
You can run a CPython terminal from AEDT following the steps:
- Create a virtual environment with PyAEDT installed (pip install pyaedt). If you are using the batch file from the PyAEDT documentation, the virtual environment will be at "C:\Users\slopez\AppData\Roaming\pyaedt_env_ide"
- Open AEDT, and select Tools>External Tools.
- Create new content (Add). I called the menu "CPython CL" and the command is: cmd /k C:\Users\slopez\AppData\Roaming\pyaedt_env_ide\Scripts\activate.bat
Finally, in Tools you will see the new button, which will open a CPython terminal with the specific virtual environment:
1
Answers
-
Hi @byang ! Welcome to the forum! Unfortunately we've had to sink your question because it needs details and clarity before it can be answered meaningfully. Once you've added this information, we'll be happy to release it again :) .
If you're not sure what sort of information to include, have a read of these discussions first.
Starting discussions — Ansys Developer
Forum Tips & Tricks — Ansys Developer
You should also make sure to search the forum first, in case your question has already been answered somewhere.
How do I filter by tag in the search? — Ansys Developer
You may also like to create a MCVE "minimum, complete and verifiable example" of what you've already tried. This can be very helpful for users when answering questions.
Otherwise welcome to the forum and happy posting!
-James
1