openai / retro

Retro Games in Gym
MIT License
3.35k stars 524 forks source link

Can't install on Debian 11 #267

Closed Kenshiro-28 closed 2 years ago

Kenshiro-28 commented 2 years ago

Issue summary

I can't install Retro on Debian 11:

$ sudo apt install build-essential python3-dev python3-pip python3-wheel python3-opencv

$ pip3 install gym-retro

It fails after this:

Collecting gym-retro Using cached gym-retro-0.7.1.tar.gz (168.7 MB) Collecting gym Using cached gym-0.23.1-py3-none-any.whl Collecting pyglet==1.*,>=1.3.2 Using cached pyglet-1.5.23-py3-none-any.whl (1.1 MB) Requirement already satisfied: numpy>=1.18.0 in /usr/lib/python3/dist-packages (from gym->gym-retro) (1.19.5) Collecting gym-notices>=0.0.4 Using cached gym_notices-0.0.6-py3-none-any.whl (2.7 kB) Collecting cloudpickle>=1.2.0 Using cached cloudpickle-2.0.0-py3-none-any.whl (25 kB) Collecting importlib-metadata>=4.10.0 Using cached importlib_metadata-4.11.3-py3-none-any.whl (18 kB) Requirement already satisfied: zipp>=0.5 in /usr/lib/python3/dist-packages (from importlib-metadata>=4.10.0->gym->gym-retro) (1.0.0) Building wheels for collected packages: gym-retro Building wheel for gym-retro (setup.py) ... /

.....

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qkokx80d/gym-retro_aac4bd75b25f4626a954255407d858b4/setup.py'"'"'; file='"'"'/tmp/pip-install-qkokx80d/gym-retro_aac4bd75b25f4626a954255407d858b4/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-yfpm5fe5/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/user/.local/include/python3.9/gym-retro Check the logs for full command output.

System information