-
Notifications
You must be signed in to change notification settings - Fork 811
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
windows: anaconda: error running: The filename or extension is too long #68
Comments
The crux of the error seems to be the resulting path for what it's building is too long for the operating system. I'm confused why there seems to be a python within a python. "Users\test\Anaconda3\envs\tensorflow-gpu\lib\site-packages\mujoco_py-1.50.1.7-py3.5" appears twice in the path, which seems to point to something being incorrect. What does just trying to import the module do: |
Now I have the same error too. And after python -c "import mujoco_py" too:
|
I've spent this evening trying to set up Windows 10 + Anaconda + Python 3.5 environment + Tensorflow + Mujoco_py and can't resolve this final error as well. I tried to set up registry keys and group policies to enable long paths in Windows according to various guides but it didn't work at all. |
I have the same issue. Windows 7 + Python 3.5.2 environment . Has anyone found a solution or resolution to this problem? thanks! |
Same problem here:
|
The problem seems to be solved with the Python installation dir in I can succesfully import mujoco_py from terminal but not on pycharm. It simply get stuck giving no errors... Edit: i was installing mujoco 1.5 when Gym only supports 0.5. Returning to the old directory, now with the right version and activation key everything works fine. |
Did some digging around this bug... edit: so that in builder.py Not sure if this can just be patched into the code as it may not work with other OS cheers. |
Hello! I am facing the same issue with Windows 10 python 3.7 I tired @PabTorre solution (thanks for posting!) but its not working for me! Can someone help please!! |
You can copy the mujoco_py file(mine is under C:\Users\19240.mujoco\mujoco-py) to the site-packages(mine is C:\Users\19240\Anaconda3\envs\mujoco\Lib\site-packages), it is useful in my computer, I hope it can help you. |
hello,
On windows 10, I was finaly able to install mujoco-py. However when trying to run an example I am getting the following:
The text was updated successfully, but these errors were encountered: