Open TalfrynK opened 4 years ago
I am facing the same issue. Were you able to fix it?
Mee too, how to solve this problem?
I had the same problem and fixed it with pull request #22 .
Mee too, But I have solved it in the following way:
pip3 install jsonnet
pip install jsonnet
then run:
git clone https://github.com/openai/mujoco-py.git
cd mujoco-py/
sudo apt-get update
sudo apt-get install patchelf
sudo apt-get install python3 python-dev python3-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev libglew1.5 libglew-dev python-pip
sudo apt-get install libgl1-mesa-dev libgl1-mesa-glx libosmesa6-dev python3-pip python3-numpy python3-scipy
sudo pip3 install -r requirements.txt
sudo pip3 install -r requirements.dev.txt
sudo python3 setup.py install
sudo pip3 install gym
sudo pip install requirements.txt -e .
sudo pip install requirements.dev.txt -e .
pip install -e .
I had the same error. I fixed it by running it like this:
python bin/examine.py examples/blueprint.jsonnet examples/blueprint.npz
It has something to do with the imports I think. So just be outside the "bin" folder, and run this command.
Whenever I try to run the environments such as base or hide_and_seek through the bin/examine.py hide_and_seek or base commands I receive this error:
I'm not sure how to fix it and running the environments with the pre-trained models works perfectly fine.