Forum Replies Created
-
AuthorPosts
-
2 November 2020 at 16:32 in reply to: SofaPython3: Troubles starting Sofa GUI from Python script #17519JambouliBlocked
Dear Hugo,
I finally managed to install Sofa with SofaPython3 again. However I get an error message when trying to import Sofa.Gui in python. I already installed the python bindings and Sofa, Sofa.Core, SofaRuntime and Sofa.Simulation can be imported without any problems.
The error message I get for Sofa.Gui:
ImportError: libSofaMiscForceField.so.20.06.99: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File “SofaGui.py”, line 15, in <module>
import Sofa.GuiDo you have an idea what I did wrong?
Thank you in advance,
JacquelineJambouliBlockedHi @jnbrunet,
thank you very much for your response. I pulled the latest version of the SofaPython3 repository, but now I get an error message from cmake when I try to configure (or generate) the cmake file.
Do you know what I have done wrong?
https://i.postimg.cc/g2q9rb7W/Bildschirmfoto-von-2020-11-02-14-58-26.png
Update: I cloned the SofaPython3 repository manually (instead of using the fetch option, which is listed in cmake) and added the path to SOFA_EXTERNAL_DIRECTORIES and now it works.
Thank you for your help!
Jacqueline29 October 2020 at 08:52 in reply to: SofaPython3: Troubles starting Sofa GUI from Python script #17470JambouliBlockedDear Hugo,
thank you for your response. I will try it as soon, as I can. While experimenting with other versions I got some problems with the original one. Now I am trying to reinstall it.
Jacqueline
-
AuthorPosts