Closed amir-noohian closed 2 years ago
I'm also getting the same error, following is the error trace:
`Collecting mujoco-py Using cached mujoco-py-2.0.2.13.tar.gz (792 kB) Installing build dependencies ... done WARNING: Missing build requirements in pyproject.toml for mujoco-py from https://files.pythonhosted.org/packages/2f/48/b108057c1a23c8da9f4cdc7a7c46ab7cec49c3563c0706d50f2527de6ba0/mujoco-py-2.0.2.13.tar.gz#sha256=d6ae66276b565af9063597fda70683a89c7356290f5ac3961b794ee90ec50eea. WARNING: The project does not specify a build backend, and pip cannot fall back to setuptools without 'wheel'. Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing wheel metadata ... done Requirement already satisfied: glfw>=1.4.0 in /home/alokmalik/anaconda3/envs/marl/lib/python3.8/site-packages (from mujoco-py) (2.2.0) Requirement already satisfied: fasteners~=0.15 in /home/alokmalik/anaconda3/envs/marl/lib/python3.8/site-packages (from mujoco-py) (0.16.3) Requirement already satisfied: imageio>=2.1.2 in /home/alokmalik/anaconda3/envs/marl/lib/python3.8/site-packages (from mujoco-py) (2.9.0) Requirement already satisfied: cffi>=1.10 in /home/alokmalik/.local/lib/python3.8/site-packages (from mujoco-py) (1.14.6) Requirement already satisfied: Cython>=0.27.2 in /home/alokmalik/anaconda3/envs/marl/lib/python3.8/site-packages (from mujoco-py) (0.29.24) Requirement already satisfied: numpy>=1.11 in /home/alokmalik/anaconda3/envs/marl/lib/python3.8/site-packages (from mujoco-py) (1.21.2) Requirement already satisfied: pycparser in /home/alokmalik/.local/lib/python3.8/site-packages (from cffi>=1.10->mujoco-py) (2.20) Requirement already satisfied: six in /home/alokmalik/.local/lib/python3.8/site-packages (from fasteners~=0.15->mujoco-py) (1.16.0) Requirement already satisfied: pillow in /home/alokmalik/anaconda3/envs/marl/lib/python3.8/site-packages (from imageio>=2.1.2->mujoco-py) (8.3.2) Building wheels for collected packages: mujoco-py Building wheel for mujoco-py (PEP 517) ... error ERROR: Command errored out with exit status 1: command: /home/alokmalik/anaconda3/envs/marl/bin/python /home/alokmalik/anaconda3/envs/marl/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py buildwheel /tmp/tmp8bor7bh cwd: /tmp/pip-install-0hm6uvs6/mujoco-py_26cbd2a5964b4945a53b9142920d0ca5 Complete output (67 lines): running bdist_wheel running build
You appear to be missing MuJoCo. We expected to find the file here: /home/alokmalik/.mujoco/mujoco200
This package only provides python bindings, the library must be installed separately.
Please follow the instructions on the README to install MuJoCo
https://github.com/openai/mujoco-py#install-mujoco
Which can be downloaded from the website
https://www.roboti.us/index.html
Traceback (most recent call last):
File "/home/alokmalik/anaconda3/envs/marl/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in
This package only provides python bindings, the library must be installed separately.
Please follow the instructions on the README to install MuJoCo
https://github.com/openai/mujoco-py#install-mujoco
Which can be downloaded from the website
https://www.roboti.us/index.html
ERROR: Failed building wheel for mujoco-py Failed to build mujoco-py ERROR: Could not build wheels for mujoco-py which use PEP 517 and cannot be installed directly `
I'm facing the exact same issue on my mac also. I haven't tried it with windows.
I'm facing the exact same issue on my mac also. I haven't tried it with windows.
I suggest that you try it on Windows; it works fine on Windows.
I want to install mujoco-py on ubuntu, and I faced this issue. I tried different solutions mentioned in this page. However, none of them worked. I have been working on this issue for a while. Please tell me possible solutions.