Download PyCharm community.
<aside> 💸 Pay attention: the first one on the link is the PyCharm Professional, which is not free. Make sure you download the Community Edition.
</aside>
Install PyCharm with the default settings
Open PyCharm
Create a new project to test. Define its location, create a new environment using Virutalenv and create a main.py welcome script.
Edit main.py:
import opensim as osim
print(osim.GetVersionAndDate())
quit()
Go to File…Settings (Ctrl + Alt + S)
Find Project…Python Interpretor…Show all
Click on + to add a new interpretor
Go to Conda Environment, use an existing environment and select the opensim_env
Click Ok and wait until all indexing is complete.
Run the main program by opening the main file, right-clicking on the script, and clicking Run ‘main’.
If successful, you will see a similar message on the terminal:
C:\\ProgramData\\anaconda3\\python.exe C:\\Users\\anacs\\PycharmProjects\\pythonProject\\main.py
version 4.4.1-2023-07-13-710e13be5, build date 09:37:16 Jul 14 2023
Process finished with exit code 0
Now, you are ready to start working with OpenSim Moco!
Previous step:
3) Python environment with Moco (Windows)
4) Python environment with Moco (macOS)
Next step: None. All done! 🎉