29 June 2021 at 01:27 #19881AnonymousInactive
I’ve been having trouble integrating stlib into python, as I can import the plug-in no problem into runSOFA via the plug-in manager but then cannot run python code with the line “import stlib” within it.
I have been trying to fix this issue by following the instructions found on the stlib github’s readme.txt and running into issues with CMake here and there. However, I just realized that the readme file is 2 years old and am wondering whether or not this information is still relevant or whether or not I am just building the plug-in that is already imported into runSOFA and my problem lies elsewhere.
Geoffrey Liu29 June 2021 at 10:55 #19885Julien D.Blocked
A few weeks ago, I wanted to try the tutorials examples on the SOFT Robot plugin and I had similar issues… It seems that the STLIB plugin have to be installed through Python.
I have no clue how to solve this issue either, so if anyone has a solution feel free to share.
Best wishes to everyone,5 July 2021 at 14:42 #19926HugoKeymaster
Problems of compatibility of the STLIB plugin with the last v20.12 relase were reported. We are actively working on it to deliver a nice and fresh v21.06 SOFA release and an updated version of the STLIB plugin (thanks to the Defrost team)!
Hugo7 September 2021 at 14:46 #20321HugoKeymaster
Can you confirm us that with the v21.06 the problem is now solved?
Else I would push for working on this on the STLIB side.
Hugo7 September 2021 at 20:09 #20330AnonymousInactive
The way I got around the problem was by using just SofaPython instead of SofaPython3 in v20.12.03. Without the ability to use SofaPython (python2 rather than python3), I could not get v21.06 to work on my set up.
While using SofaPython worked on my desktop, while trying to set SOFA on a colleague’s computer this past week I ran into the issue again and the solution I had found did not work. Despite downloading everything in the “Getting Started/Build/Windows” section of the windows documentation in the hopes that one of those programs would solve the issue, it unfortunately did not, so it does not seem to be a solution for everybody.
Geoffrey Liu15 September 2021 at 17:34 #20361AbdelrahmanBlocked
I don’t know if this would help you or not, I ran with same issue on linux, I was trying to run sofa from a conda env. My solution that I copied the file stlib from sofa source to the path that sofa env run from, for example on my linux that is the path
I copied the file in that path.
- You must be logged in to reply to this topic.