Starting with OpenSim version 4.4, we provide conda packages to support development in python+conda environment. There are two packages:
...
Both packages are built with variants for different python versions (3.7, 3.8, 3.9) and numpy version 1.20, with other dependencies included (simbody, ezc3d). The list of conda packages will grow as community needs evolve over time and as new variants are published. The one line installer:
> conda install -c opensim-org opensim
Issues to keep in mind:
There're a couple issues that you need to know about regarding conda packaging:
...
- We rely on conda to download the correct version for your environment/python-version. This however is not always true since conda also has to resolve dependencies and make arbitrary decisions. Keep an eye if your python version is the same as the one indicated by the package name (e.g. 3.9 for opensim-4.4-py39np120) if not the case, create a separate environment with the specific python version and install opensim into it. In case of mismatch, you can specify which package to install in the one line installer (e.g. for python version 3.8, conda install -c opensim-org opensim=4.4=py38np120). The common symptom of this incorrect behavior matching between python version and opensim package is failing to load simbody DLL on windows.
- If usWe recommend installing the opensim package before installing any other packages in a conda environment as this will mitigate the risk of conflicts between packages and issues with using opensim.