Open Lu-Yi-Hsun opened 6 years ago
Thanks for sharing the way. In my case, just pip ~
without sudo
works.
@Lu-Yi-Hsun @tegg89
Did you confirm that you can actually import it in python? I'm getting the errors here: https://github.com/openai/mujoco-py/issues/204
my computer's os is linux manjaro if i install by
pip3 install -U 'mujoco-py<1.50.2,>=1.50.1'
it not workwork way
git clone https://github.com/openai/mujoco-py
cd mujoco-py
sudo pip install -e . --no-cache
Thank you for sharing!! It worked on my machine!
me@me:~/Desktop$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
And also, it is working on OpenAI Gym env as follows
import gym
env = gym.make('FetchReach-v1')
env.reset()
for _ in range(1000):
env.render()
env.step(env.action_space.sample()) # take a random action
env.close()
my computer's os is linux manjaro if i install by
pip3 install -U 'mujoco-py<1.50.2,>=1.50.1'
it not workwork way
git clone https://github.com/openai/mujoco-py
cd mujoco-py
sudo pip install -e . --no-cache