Closed WilliamHangXu closed 2 months ago
Hi, I also had this problem, but I changed all 'splib3' to 'splib'. It seems work. You may try it.
Hello,
sorry for the late reply. You need to add where splib3
is to your PYTHONPATH
like this:
export PYTHONPATH=$SOFA_ROOT/lib/python3/site-packages:$PYTHONPATH
See also discussion https://github.com/sofa-framework/sofa/discussions/4511
Thank you! I fixed the issue by adding the path of splib3
into PYTHONPATH
: plugins/STLIB/lib/python3/site-packages
Hi all, I just installed SofaGym. I tried to run the test_env.py file and got this error:
Traceback (most recent call last): File "test_env.py", line 23, in
from sofagym.envs import
File "/home/william/SofaGym/sofagym/envs/init.py", line 1, in
from sofagym.envs.BubbleMotion.BubbleMotionEnv import
File "/home/william/SofaGym/sofagym/envs/BubbleMotion/BubbleMotionEnv.py", line 11, in
from sofagym.AbstractEnv import AbstractEnv
File "/home/william/SofaGym/sofagym/AbstractEnv.py", line 20, in
import splib3
ModuleNotFoundError: No module named 'splib3'
I have installed all the plugins listed in README. Any idea how I should fix this? Thank you!