- This topic has 4 replies, 2 voices, and was last updated 2 years, 10 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forum › SofaPython3 › Programming with SofaPython3 › [SOLVED] Sofa Binary with python env
Tagged: Linux_ubuntu, SOFA_2106, SofaPython3, SoftRobots Plugin
Hi
I’m new here, I have just downloaded sofa binray from here https://project.inria.fr/softrobot/install-get-started-2/download/
With soft robotics and sofapython3 plugins, my question is how can i import sofa into python environment from the downloaded binary above?. Sorry for the noob question 🙂
Hey @dabou
I think the binaries available on the project.inria are not the latest one.
You can pick :
– the SOFA binary
Download aside all needed plugins, e.g.:
– the SoftRobots plugin binary
– the STLIB plugin binary
and them place these plugins in:
– (Linux/MacOS) the folder SOFA/install/plugins/
– (Win) the folder SOFA/install/bin
Then for python, the explanations are given here.
Let me know if this helps
Best wishes,
Hugo
Hey @hugo
Yest it helps a lot, I have tried sofa before more than a year and seeing it now it has improved a lot, big cheers for that.
one more thing I have tried to run one of the python examples and I got this error
[ERROR] [DAGSimulation(Simulation)] extension (py) not handled
the command I ran from a terminal inside the bin folder on linux
./runSofa-21.12.00 ../plugins/SofaPython3/share/SofaPython3/examples/basic-addGUI.py
Hey @dabou
This error simply means that you did not load the SofaPython3 plugin.
To load python scripts, this plugin is needed.
Best wishes,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.