Hi guys
I have installed Opensim4.1 on Ubuntu. Now I want to configue opensim with Python according to the instruction:
https://opensimconfluence.atlassian.net ... +in+Python
bu my main problem is that i don't have any python3.x folder in my opensim installation directory:
$ cd <OPENSIM_INSTALL_DIR>/lib/python3.x/site-packages
Do you know how to create it ?
Best
Opensim Installation on Ubuntu(Debian)
- Nicholas Bianco
- Posts: 963
- Joined: Thu Oct 04, 2012 8:09 pm
Re: Opensim Installation on Ubuntu(Debian)
Hi Samane,
If you want to build on Ubuntu from source, please refer to the following build script: https://github.com/opensim-org/opensim- ... -script.sh.
If you just need a working Python environment with OpenSim on Linux, please consider using the OpenSim conda packages: https://opensimconfluence.atlassian.net ... da+Package.
We have conda packages for OpenSim 4.5, but not that it does not include Moco currently. (Our next set of conda packages will include Moco support, so stay tuned for that.)
-Nick
If you want to build on Ubuntu from source, please refer to the following build script: https://github.com/opensim-org/opensim- ... -script.sh.
If you just need a working Python environment with OpenSim on Linux, please consider using the OpenSim conda packages: https://opensimconfluence.atlassian.net ... da+Package.
We have conda packages for OpenSim 4.5, but not that it does not include Moco currently. (Our next set of conda packages will include Moco support, so stay tuned for that.)
-Nick
- Samane Amini
- Posts: 96
- Joined: Sun Jan 12, 2020 3:48 am
Re: Opensim Installation on Ubuntu(Debian)
Dear Nicholas
Actually, I have installed opensim4.1 on debain, but I have problem to configure opensim with python and I received this error when using 'import opensim':
ImportError: cannot import name '_simbody' from partially initialized module 'opensim'
in terms of opensim installation by anaconda, the last versions of anaconda3 that support opensim don't install on my system (Debian for Raspberrypi4 model B).
Do you know how to fix the problem I found?
Best
Actually, I have installed opensim4.1 on debain, but I have problem to configure opensim with python and I received this error when using 'import opensim':
ImportError: cannot import name '_simbody' from partially initialized module 'opensim'
in terms of opensim installation by anaconda, the last versions of anaconda3 that support opensim don't install on my system (Debian for Raspberrypi4 model B).
Do you know how to fix the problem I found?
Best
- Nicholas Bianco
- Posts: 963
- Joined: Thu Oct 04, 2012 8:09 pm
Re: Opensim Installation on Ubuntu(Debian)
Hi Samane,
For OpenSim 4.1 on Ubuntu, you might need to update the LD_LIBRARY_PATH.
For OpenSim 4.1 on Ubuntu, you might need to update the LD_LIBRARY_PATH.
Code: Select all
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<YOUR_INSTALL_DIRECTORY_HERE>/sdk/lib
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<YOUR_INSTALL_DIRECTORY_HERE>/sdk/Simbody/lib