sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
926 stars 312 forks source link

[STLIB] Python cannot find the library #2932

Open dessteph opened 2 years ago

dessteph commented 2 years ago

I managed to add and compile STLIB and SoftRobots but when i try to start a scene it seems that Python does not find the library.

[ERROR] [SofaPython3::SceneLoader] Unable to completely load the scene from file '/home/***/plugin_sofa/SoftRobots/docs/sofapython3/tutorials/FirstSteps/firststeps-tuto.py'.
Python exception:
ModuleNotFoundError: No module named 'stlib3'

alxbilger commented 2 years ago

@dessteph I think you have to give more details on your system (OS, python version etc)

dessteph commented 2 years ago

I am on Ubuntu 20.04.4 with python3 3.8.10. When I use the locate command it gives me the correct path to the dynamic library.