Search found 17 matches

by Ton Leenen
Mon Jun 08, 2020 2:41 pm
Forum: OpenSim
Topic: Fatal Python error (Python3 OpenSim import)
Replies: 3
Views: 434

Fatal Python error (Python3 OpenSim import)

Dear all, Earlier this week I already posted some issues with importing the OpenSim module into the Python environment. At the moment I was able to rebuild (with Superbuild) OpenSim 4.1 with the Source Code using Python 3.8.3. I cleaned my whole Mac system by other Python version and installed Pytho...
by Ton Leenen
Fri Jun 05, 2020 8:52 am
Forum: OpenSim
Topic: Link OpenSim 4.1 to Python Scripting (ImportError; Library Not Loaded)
Replies: 7
Views: 673

Re: Link OpenSim 4.1 to Python Scripting (ImportError; Library Not Loaded)

Hello Ayman, I have been trying to rebuild OpenSim from the source-code, but I am running in some errors here as well which I cannot resolve on my own. I am following the extended instruction on the OpenSim Github webpage: https://github.com/opensim-org/opensim-core/blob/master/README.md#on-mac-osx-...
by Ton Leenen
Fri Jun 05, 2020 1:11 am
Forum: OpenSim
Topic: Link OpenSim 4.1 to Python Scripting (ImportError; Library Not Loaded)
Replies: 7
Views: 673

Re: Link OpenSim 4.1 to Python Scripting (ImportError; Library Not Loaded)

Hello Christopher Dembia, Thanks you for you quick reply! Unfortunately, I receive the same error when I use the following code! export PYTHONPATH=/Applications/OpenSim\ 4.1/sdk/Python /Users/ajrleenen/opt/anaconda3/bin/python -c "import opensim" The error type is every time the same, although the p...
by Ton Leenen
Thu Jun 04, 2020 1:21 pm
Forum: OpenSim
Topic: Link OpenSim 4.1 to Python Scripting (ImportError; Library Not Loaded)
Replies: 7
Views: 673

Re: Link OpenSim 4.1 to Python Scripting (ImportError; Library Not Loaded)

In the meantime I have been trying to rebuild OpenSim with the source code (see image below), but I am not able to run all the code lines without getting any errors. Running the following code provides me with multiple errors (unable to find MATLAB, unable to find numpy). cmake ../opensim-core \ -DC...
by Ton Leenen
Thu Jun 04, 2020 10:47 am
Forum: OpenSim
Topic: Link OpenSim 4.1 to Python Scripting (ImportError; Library Not Loaded)
Replies: 7
Views: 673

Re: Link OpenSim 4.1 to Python Scripting (ImportError; Library Not Loaded)

Hi Ayman, I have removed the Anaconda distribution from my Mac and installed the basic system Python interpreter version 3.7, but unfortunately I am still receiving a similar same error! The '@rpath/libSimTKsimbody.3.8.dylib' was not loaded when I used the Anaconda distribution, but when I changed t...
by Ton Leenen
Thu Jun 04, 2020 10:17 am
Forum: OpenSim
Topic: OpenSim API Python Import Error: Library not loaded
Replies: 10
Views: 1151

Re: OpenSim API Python Import Error: Library not loaded

Hi Laura,

I am encountering the same issues as you have when installing the Python scripting! I used multiple distributions and nothing seems to work! Were you able to solve these issues? Could you share your experience?

Thank you very much!
by Ton Leenen
Thu Jun 04, 2020 8:05 am
Forum: OpenSim
Topic: Link OpenSim 4.1 to Python Scripting (ImportError; Library Not Loaded)
Replies: 7
Views: 673

Link OpenSim 4.1 to Python Scripting (ImportError; Library Not Loaded)

Dear all, I am trying to link the OpenSim 4.1 to Python 3.7 according to the required steps presented on https://simtk-confluence.stanford.edu:8443/display/OpenSim/Scripting+in+Python, but unfortunately I get an error when importing OpenSim package. I have presented the complete code and the error i...