New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission error when import mujoco_py #351
Comments
I'm getting the same issue. |
This started happening to me recently as well. A simple fix is to just remove the build lock. If you're using a virtual environment, something like: |
The problem was the python version... the mujoco dependencies aparently are not compatible with the 3.7 versions, so i changed to the 3.6 version (made additional troubleshooting related to the OpenGL implementation with the graphics card) and it worked. |
I was having the same issue when using this in a singularity img in the server. It was working fine locally but displaying error when I try I fixed it by installing
1.50.1.56 version does not require |
permission denied----> the simplest way to slove is "sudo chmod 777 ath-to-venv/lib/pythonX.X/site-packages/mujoco_py/generated/" |
I solved the problem using the same solution as NoobHua. I received the following error: PermissionError: [Errno 13] Permission denied: b'/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mujoco_py/generated/mujocopy-buildlock' I solved as follows: cd /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mujoco_py |
It works! Thanks a lot. |
I am using Ubuntu 18.04, Python 3.7.2 and mujoco (1.50). I have installed mujoco and gym with all the dependencies employing commands
pip3 install <package> --user
almost everything but
import mujoco_py
works. I can run the examples cartPole and pacman but when i try to import mujoco_py i got the following error:Apparently it is a permissions error but i do not know how to solve it. Sorry if its a very simple issue but i have been stocked here for a while and do not find solution. I tried uninstalling and reinstalling Mujoco without cache but it did not work.
The text was updated successfully, but these errors were encountered: