Run the Anaconda Prompt as Adm.
Update conda (without admin privileges, it will not work).
conda update -n base -c defaults conda
<aside> 💡 Successful messages are:
Preparing transaction: done Verifying transaction: done Executing transaction: done
</aside>
Use the following commands to:
Create a new Conda environment, opensim_env
conda create -n opensim_env python=3.11 numpy
Activate the environment
conda activate opensim_env
Install the opensim
packages by running (from OpenSim 4.5.1, OpenSim Moco is included):
conda install -c opensim-org opensim
Test if the installation works by running:
python
>> import opensim as osim
>> osim.GetVersionAndDate()
>> quit()
<aside> 💡 Successful messages are:
>>> osim.GetVersionAndDate() 'version 4.5.1, build date 09:40:37 Jul 26 2024’
</aside>
conda
environments, use this command:The next step is to set up an IDE. You can use VS Code or Pycharm, but the installation steps are the same regardless of your OS.
Install these libraries (optional, but recommended):
Install the matplotlib
(for plots):
conda install matplotlib
Install the pandas
(for data manipulation):
conda install pandas
Install the yaml
(for configuration files):
conda install pyyaml
Install the scikit
(for synergies):
conda install anaconda::scikit-learn
Previous step:
Next step:
Back to Home