1. Download PyCharm community.

    Untitled

    <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>

  2. Install PyCharm with the default settings

  3. Open PyCharm

  4. Create a new project to test. Define its location, create a new environment using Virutalenv and create a main.py welcome script.

    Untitled

  5. Edit main.py:

    import opensim as osim
    print(osim.GetVersionAndDate())
    quit()
    
  6. Go to File…Settings (Ctrl + Alt + S)

    Untitled

  7. Find Project…Python Interpretor…Show all

    Untitled

  8. Click on + to add a new interpretor

  9. Go to Conda Environment, use an existing environment and select the opensim_env

    image.png

  10. Click Ok and wait until all indexing is complete.

    Untitled

  11. Run the main program by opening the main file, right-clicking on the script, and clicking Run ‘main’.

    Untitled

  12. 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
    
  13. 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! 🎉