OpenSim on python error

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
atabak mehrabani
Posts: 5
Joined: Sun Mar 10, 2019 7:18 am

OpenSim on python error

Post by atabak mehrabani » Sat Feb 06, 2021 4:10 pm

Hello

I was trying to install opensim package for python following the instruction on below:
https://simtk-confluence.stanford.edu/d ... +in+Python
I made sure that my python version is downgraded to 3.7 and I'm using opensim4.1 and python version3.7 on anaconda both for 64bit systems.
Also I've already added the path variable to my environment path in the system.
when I run the code for : python setup.py install after changing the directory on anaconda prompt to: cd E:\OpenSim 4.1\sdk\Python
I came across this error message:
Traceback (most recent call last):
File "setup.py", line 12, in <module>
exec(compile(open('opensim/version.py').read(), 'opensim/version.py', 'exec'))
FileNotFoundError: [Errno 2] No such file or directory: 'opensim/version.py'

I've checked the error and I found the file in the 'opensim/version.py' but apparently python can't...
I couldn't figure out the problem. what should I do?

Tags:

POST REPLY