- This topic has 6 replies, 4 voices, and was last updated 5 years, 5 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › [SOLVED] Plugin loading failed
Tagged: 64_bits, binary, plugin failed, Plugin_SoftRobots, SOFA_other, softrobots, vs2015, Windows_10
Hi,
I have a problem, when I start runSofa.exe, this plugins can not loading, but they are exist: SofaPython.dll and SoftRobots.dll.
Example:
[ERROR] [PluginManager] Plugin loading failed (C:/Users/Horvath Bence/Downloads/SOFA_v19.06.99_custom_Win64_v8.1/SOFA_v19.06.99_custom_Win64_v8.1/plugins/SoftRobots/bin/SoftRobots.dll): “The plugin can not findˇ.
I used de binary version of SOFA on Windows 10, download from: https://project.inria.fr/softrobot/install-get-started-2/download/
Thanks
Bence
Hi @bence
Thank you for your interest in SOFA and in the SoftRobot plugin from the Defrost team.
Let me contact the devs in charge of the SoftPlugin and associated binaries.
Best
Hugo
Hi,
A failing SofaPython loading almost always means a problem in Python+Numpy installation.
1. Did you install Python correctly?
You must have Python 2.7.x 64-bit.
To verify, open a CMD console and type python -c "import sys;print(\"%x\" % sys.maxsize, sys.maxsize > 2**32)"
It must return exactly ('7fffffffffffffff', True)
2. Did you install Numpy correctly?
To verify, open a CMD console and type python -c "import numpy; print numpy.__version__"
It must return a version number (no error).
Hope that helps,
Guillaume.
Hi @Guillaume
I fixed the problem. It was very simple: I cut the SofaPython.dll from the folder and I launch runSofa.exe . It wrote an error because not find the SofaPython.dll. And I take back the .dll file to the folder, launch again Sofa and this time everything was fine, no errors. It was very interesting 😀
Bence
Hum, I doubt that moving SofaPython.dll was the real fix to your problem. Something else might have changed…
If you have more info on what happened do not hesitate to post it here!
In the meantime, I guess this topic is solved.
Guillaume.
Can anyone tell me how to import Sofa in python? I built Cmake successfully and got a runPython.dll file. When I open Python and import Sofa, there is no module called Sofa
I found the solution from here: https://www.sofa-framework.org/community/forum/topic/adding-sofa-module-to-spyder/
I think it will be much easier to understand if you have an example like:
runSofa ./houseOfCards.py
in the documentation
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.