Fail to add Sofapython3 plugin on macOS. Sofa version V22.06 #3528
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi @Pythonlisation it seems that you are trying to load the SofaPython3 library from the PluginManager. Maybe a inconsistency of python version (MacOS binaries are built using python 3.8.10). It could be worth using the same python version. Else maybe trying to set the env:
but I doubt this last point will help. Finally, you point about "libSofaPython3.1.0.dylib": it is simply due to the fact that plugins in SOFA can have verison and the version of SofaPython3 is 1.0 therefore "libSofaPython3.1.0.dylib". Nothing abnormal here. Hope this helps |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
This is because on apple silicon homebrew no longer install python to location /usr/local/opt but instead to /opt/homebrew. So of course it cannot find python under the /usr/local/opt directory. I'm having the same problem. Usually this should be fixed by PluginManager trying to find python not only from /usr/local but according to the $PATH variable set by the user. Hope they could solve this in the new version. |
Beta Was this translation helpful? Give feedback.
This is because on apple silicon homebrew no longer install python to location /usr/local/opt but instead to /opt/homebrew. So of course it cannot find python under the /usr/local/opt directory. I'm having the same problem. Usually this should be fixed by PluginManager trying to find python not only from /usr/local but according to the $PATH variable set by the user. Hope they could solve this in the new version.