stanfordnmbl / osim-rl

Reinforcement learning environments with musculoskeletal models
http://osim-rl.stanford.edu/
MIT License
877 stars 248 forks source link

installation of Opensim-rl #236

Open AffDk opened 3 years ago

AffDk commented 3 years ago

Hi,

I had an already installed Anaconda (navigator version 1.9.12) on my computer (run on windows) and followed the instructions to install osim-rl from the following website:

http://osim-rl.stanford.edu/docs/quickstart/

The installation went through smoothly, at least I did not see any warning or error message. After that when I open Anaconda navigator, I can see osim-rl is added to the available environments. when I choose osim-rl environment, it gives me two possibilities ("open terminal" and "open with python"),

if I choose "open terminal"

I run "activate opensim-rl" as instructed by the website that this must be done every time I also run "python -c "import opensim" " and apparently this one is fine too. At least, it does not generate any error or warning message.

but when I choose "open with python" and run "activate opensim-rl", I face with the following error:

File "", line 1 activate opensim-rl ^ SyntaxError: invalid syntax

I also tried "activate org.opensim-rl" but the same error message popped up.

"from osim.env import L2RunEnv" I face an error message like this:

Traceback (most recent call last): File "", line 1, in ImportError: cannot import name 'L2RunEnv'

I also tried "from org.osim.env import L2RunEnv"

Any suggestion here?

By the way, I had seen the following thread too but none of the hints there came in handy in my case:

https://github.com/stanfordnmbl/osim-rl/issues/217#issue-556181998

Best regards, Afshin