You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i tried to install gym[mujoco], but this is happening: also the same thing happened to box2d env, why? but the classic worked properly.
$ pip install gym[mujoco]
Requirement already satisfied: gym[mujoco] in c:\users\esmail\appdata\local\programs\python\python311\lib\site-packages (0.26.2)
Requirement already satisfied: numpy>=1.18.0 in c:\users\esmail\appdata\local\programs\python\python311\lib\site-packages (from gym[mujoco]) (1.24.3)
Requirement already satisfied: cloudpickle>=1.2.0 in c:\users\esmail\appdata\local\programs\python\python311\lib\site-packages (from gym[mujoco]) (3.0.0)
Requirement already satisfied: gym-notices>=0.0.4 in c:\users\esmail\appdata\local\programs\python\python311\lib\site-packages (from gym[mujoco]) (0.0.8)
Collecting mujoco==2.2 (from gym[mujoco])
Using cached mujoco-2.2.0.tar.gz (138 kB)
Preparing metadata (setup.py) ... done
Collecting imageio>=2.14.1 (from gym[mujoco])
Using cached imageio-2.34.2-py3-none-any.whl.metadata (4.9 kB)
Requirement already satisfied: absl-py in c:\users\esmail\appdata\local\programs\python\python311\lib\site-packages (from mujoco==2.2->gym[mujoco]) (2.0.0)
Requirement already satisfied: glfw in c:\users\esmail\appdata\local\programs\python\python311\lib\site-packages (from mujoco==2.2->gym[mujoco]) (2.7.0)
Requirement already satisfied: pyopengl in c:\users\esmail\appdata\local\programs\python\python311\lib\site-packages (from mujoco==2.2->gym[mujoco]) (3.1.7)
Requirement already satisfied: pillow>=8.3.2 in c:\users\esmail\appdata\local\programs\python\python311\lib\site-packages (from imageio>=2.14.1->gym[mujoco]) (10.4.0)
Using cached imageio-2.34.2-py3-none-any.whl (313 kB)
Building wheels for collected packages: mujoco
Building wheel for mujoco (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [60 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\mujoco
copying mujoco\bindings_test.py -> build\lib.win-amd64-cpython-311\mujoco
copying mujoco\render_test.py -> build\lib.win-amd64-cpython-311\mujoco
copying mujoco\rollout.py -> build\lib.win-amd64-cpython-311\mujoco
copying mujoco\rollout_test.py -> build\lib.win-amd64-cpython-311\mujoco
copying mujoco\__init__.py -> build\lib.win-amd64-cpython-311\mujoco
creating build\lib.win-amd64-cpython-311\mujoco\egl
copying mujoco\egl\egl_ext.py -> build\lib.win-amd64-cpython-311\mujoco\egl
copying mujoco\egl\__init__.py -> build\lib.win-amd64-cpython-311\mujoco\egl
creating build\lib.win-amd64-cpython-311\mujoco\glfw
copying mujoco\glfw\__init__.py -> build\lib.win-amd64-cpython-311\mujoco\glfw
creating build\lib.win-amd64-cpython-311\mujoco\osmesa
copying mujoco\osmesa\__init__.py -> build\lib.win-amd64-cpython-311\mujoco\osmesa
running build_ext
Traceback (most recent call last):
File "<string>", line 2, in<module>
File "<pip-setuptools-caller>", line 34, in<module>
File "C:\Users\Esmail\AppData\Local\Temp\pip-install-wmwdu7wl\mujoco_057fcbc72af04795856e1d8c6a53e375\setup.py", line 265, in<module>
setup(
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\dist.py", line 989, in run_command
super().run_command(command)
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\wheel\bdist_wheel.py", line 364, in run
self.run_command("build")
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\dist.py", line 989, in run_command
super().run_command(command)
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
self.run_command(cmd_name)
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\dist.py", line 989, in run_command
super().run_command(command)
File "C:\Users\Esmail\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\Esmail\AppData\Local\Temp\pip-install-wmwdu7wl\mujoco_057fcbc72af04795856e1d8c6a53e375\setup.py", line 143, in run
self._mujoco_framework_path) = self._find_mujoco()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Esmail\AppData\Local\Temp\pip-install-wmwdu7wl\mujoco_057fcbc72af04795856e1d8c6a53e375\setup.py", line 154, in _find_mujoco
raise RuntimeError(f'{MUJOCO_PATH} environment variable is not set')
RuntimeError: MUJOCO_PATH environment variable is not set
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for mujoco
Running setup.py clean for mujoco
Failed to build mujoco
ERROR: Could not build wheels for mujoco, which is required to install pyproject.toml-based
projects
The text was updated successfully, but these errors were encountered:
i tried to install gym[mujoco], but this is happening: also the same thing happened to box2d env, why? but the classic worked properly.
The text was updated successfully, but these errors were encountered: