Closed zhilengqilaiya closed 4 months ago
Hi @zhilengqilaiya , you are using a pretty old version of python (I would recommend 3.10) and I have personally never tested the SOFA version 23.06 under Ubuntu 20.04.
Would it be possible for you to either upgrade your system to python 3.10 and Ubuntu 22.04 or even 24.04? Otherwise you could also try to downgrade SOFA to version 22.06 or 22.12.
On the other hand, I am not sure what the output that you posted tells us.
Did you run python3 sofa_env/scenes/controllable_object_example/controllable_env.py
Is that the full output of the command?
Hi @ScheiklP , thank you very much for your reply. I will try to use the new version of sofa and python.
And the command I use to run sofa was ./runSofa /home/znfs4090/SOFA/sofa_env-main/sofa_env/scenes/controllable_object_example/controllable_env.py
The preceding output is some info, and I captured the following parts that may be useful.
Hi @zhilengqilaiya ,
ah, I see, then everything should actually work.
runSofa
only takes the creatScene
function (which is not defined in the *_env.py
scripts).
Please run the example with python3 sofa_env/scenes/controllable_object_example/controllable_env.py
Hi @ScheiklP , thank you very much, it works fine now! :+1:
Hello author, your work is really great, I would like to learn more about it. But when I run the sofa_env example, I get this error: [ERROR] [SofaPython3] Missing createScene function. Please help me. My system is Ubuntu 20.04, the sofa version is v23.06, and the python version is 3.8. I have no problem running some of the sofa python tutorials. Do you know why this is happening? The information output by the terminal is as follows: