Home › Forum › SoftRobots › Getting Started › Missing libraries: STLIB and libSofaPython
Tagged: GCC, libsofapython, Linux, Linux_ubuntu, SOFA, SOFA_2006, softrobots, STlib
- This topic has 26 replies, 4 voices, and was last updated 3 years, 6 months ago by younesssss.
-
AuthorPosts
-
10 May 2021 at 19:19 #19423DiegoMtzBlocked
Hi @Hugo
Yes i have loaded.
[INFO] [PluginManager] Loaded plugin: C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/bin/STLIB.dll [INFO] [PluginManager] Loaded plugin: C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/bin/SoftRobots.dll [INFO] [PluginManager] Loaded plugin: C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/Flexible/bin/Flexible.dll [INFO] [SofaPython] Added 'C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SofaPython/lib/python2.7/site-packages' to sys.path [INFO] [PluginManager] Loaded plugin: C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SofaPython/bin/SofaPython.dll [INFO] [SofaPython3] Initializing with python version 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] [INFO] [SofaPython3] Registering a scene loader for [.py, .py3, .pyscn, .py3scn] files. [INFO] [SofaPython3] Intializing python [INFO] [SofaPython3] Added 'C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SofaPython3/lib/python3/site-packages' to sys.path [INFO] [PluginManager] Loaded plugin: C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SofaPython3/bin/SofaPython3.dll [INFO] [SofaPython] No python dir found in C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SofaPython3 [INFO] [PluginManager] Loaded plugin: C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SoftRobots.Inverse/bin/SoftRobots.Inverse.dll [INFO] [SofaPython3] No python3 dir found in C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SoftRobots.Inverse [INFO] [SofaPython] Added 'C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SoftRobots.Inverse/lib/python2.7/site-packages' to sys.path
However whe i try to open a tutorial this is the messsage that appear
[INFO] [SceneCheckerVisitor] Validating node "root" with checks: [SceneCheckDuplicatedName, SceneCheckMissingRequiredPlugin, SceneCheckUsingAlias] [INFO] [SceneCheckerVisitor] Finished validating node "root". [ERROR] [PythonScript] ImportError: No module named stlib.scene File "firststeps-tuto.pyscn", line 1, in <module> from stlib.scene import MainHeader, ContactHeader [ERROR] [SofaPython] Script (file:firststeps-tuto) import error [ERROR] [SofaPython] scene script load error. [WARNING] [RealGUI] Failed to load C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SoftRobots/docs/tutorials/FirstSteps/firststeps-tuto.pyscn
19 May 2021 at 10:26 #19483younesssssBlockedHi @DiegoMtz,
did you add the splib folder to your path?
/PATH_TO_STLIB_FOLDER/python
if your are usingpython 2.7
and/PATH_TO_STLIB/python3/src
if your are usingpython3
.
However, some scenes in the tutorial do not work with python3.For binairies add
/PATH_TO_INSTALL/lib/python3/site-packages/
. -
AuthorPosts
- You must be logged in to reply to this topic.