Error Loading firststeps-tuto.py: "No Module Named 'stlib3'" #5032
Replies: 1 comment
-
HI @sodasoda520 Sorry for the late reply. I agree it seems to be a problem of PYTHONPATH. Have you solved your problem since then? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
When using SOFA v23.06 on windows10, I've successfully imported both the SofaPython3 and STLIB plugins into my SOFA environment. However, when I run runSofa and attempt to open the following file:
D:/SOFA_v23_06/plugins/SoftRobots/share/sofa/examples/SoftRobots/tutorials/FirstSteps/firststeps-tuto.py
I receive the following error:
I've noticed similar issues on the forum but haven’t found a definitive solution. Here's what I've tried so far:
The PYTHONPATH system environment variable includes the STLIB Python path:
D:\SOFA_v23_06\plugins\STLIB\lib\python3\site-packages
I copied the stlib3 and splib3 folders from:
D:\SOFA_v23_06\plugins\STLIB\lib\python3\site-packages
to
D:\Python3.8\Lib\site-packages
However, this resulted in a new error:
Any insights or suggestions on how to resolve this issue would be greatly appreciated!
Thank you!
Here are some pictures:
Beta Was this translation helpful? Give feedback.
All reactions