
Reinforcement learning environments with musculoskeletal models
Completed
Submissions
Participants
Views
Posted by majisong almost 3 years ago | Quote
参考: https://github.com/opensim-org/opensim-core/issues/765
Posted by Ish_ almost 3 years ago | Quote
Hello,
I tried both the methods but they don’t seem to work. Please help.
Method 1 : pip install opensim
python -c “import opensim”
Traceback (most recent call last):
File “
Method 2 : brew tap klshrinidhi/tap brew install opensim-core
Last 15 lines from /Users/Ish/Library/Logs/Homebrew/simbody/02.make: /tmp/simbody-20170221-8620-1wxyil3/SimTKcommon/./include/SimTKcommon/internal/Timing.h:110:34: note: candidate function not viable: no known conversion from ‘int’ to ‘clockid_t’ for 1st argument SimTK_SimTKCOMMON_EXPORT int clock_gettime(clockid_t clock_id, ^ /tmp/simbody-20170221-8620-1wxyil3/SimTKcommon/./include/SimTKcommon/internal/Timing.h:234:9: error: no matching function for call to ‘clock_gettime’ clock_gettime(CLOCK_MONOTONIC_RAW, &ts); ^~~~~~~~~~~~~ /tmp/simbody-20170221-8620-1wxyil3/SimTKcommon/./include/SimTKcommon/internal/Timing.h:110:34: note: candidate function not viable: no known conversion from ‘int’ to ‘clockid_t’ for 1st argument SimTK_SimTKCOMMON_EXPORT int clock_gettime(clockid_t clock_id, ^ [ 4%] Building CXX object SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir//src/tinyxmlparser.cpp.o 4 errors generated. make[2]: *** [SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir//src/Timing.cpp.o] Error 1 make[2]: ** Waiting for unfinished jobs…. make[1]: ** [SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir/all] Error 2 make: *** [all] Error 2
READ THIS: https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/brew): https://github.com/klshrinidhi/homebrew-tap/issues
These open issues may also help: can’t get past simbody install when running brew install opensim-core https://github.com/klshrinidhi/homebrew-tap/issues/1 Warning: You are using OS X 10.12. We do not provide support for this pre-release version. You may encounter build failures or other breakages. Please create pull-requests instead of filing issues.
Posted by majisong almost 3 years ago | Quote
i don’t know , maybe you can try : sudo pip install opensim sudo brew install opensim-core
Posted by Ish_ almost 3 years ago | Quote
I tried this other method:
import sys sys.path.append(‘/Users/Ish/anaconda/lib/python2.7/site-packages’) import opensim File “/Users/Ish/anaconda/lib/python2.7/site-packages/opensim/opensim.py”, line 35282 def getAvailableAnalyses(as): ^ SyntaxError: invalid syntax
???
Posted by Ish_ almost 3 years ago | Quote
In my system osim is installed (pip install git+https://github.com/kidzik/osim-rl.git) but I’m not able to install opensim. Please help. Thanks.
Posted by Ish_ almost 3 years ago | Quote
Tried this as well:
pip install git+https://github.com/opensim-org/opensim-core.git
Collecting git+https://github.com/opensim-org/opensim-core.git
Cloning https://github.com/opensim-org/opensim-core.git to /private/var/folders/d1/1ghzjwkx26vfpyr5wzq922fh0000gn/T/pip-T622Oc-build
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “
---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/d1/1ghzjwkx26vfpyr5wzq922fh0000gn/T/pip-T622Oc-build/
Posted by Lukasz_ almost 3 years ago | Quote
HI, I’ve just added the binaries for freeglut to the channel ( https://anaconda.org/kidzik/freeglut ) so everything should work as described in the manual:
conda create -n opensim-rl -c kidzik opensim git
activate opensim-rl
pip install git+https://github.com/kidzik/osim-rl.git
Please let us know if it helped
Thanks, Łukasz
Posted by AdamMiltonBarker almost 3 years ago | Quote
What is with the massive amount emails I am getting from this site suddenly ?
Posted by spMohanty almost 3 years ago | Quote
Dear @AdamMiltonBarker,
Our apologies for the many automated emails from the platform. By going to Profile > Email Preferences, you can tune what kind of emails you would ideally want to receive (or totally opt out).
Hope that helps, and sorry for the trouble.
Cheers, Mohanty
Hi,
While installing opensim, I am getting this error:
conda create -n opensim-rl -c kidzik opensim git
PackageNotFoundError: Package not found: ‘’ Dependency missing in current osx-64 channels: - opensim -> freeglut
You can search for packages on anaconda.org with
Please help.