rlrd icon indicating copy to clipboard operation
rlrd copied to clipboard

Pip installation problem

Open Bavaroff258 opened this issue 1 year ago • 3 comments

error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.

Bavaroff258 avatar Mar 07 '24 10:03 Bavaroff258

Hi, this is most likely the same pip/setuptools version issue as described here.

pip install setuptools==65.5.0 pip==21  # gym 0.21 installation is broken with more recent versions
pip install wheel==0.38.0

should fix it.

yannbouteiller avatar Mar 07 '24 18:03 yannbouteiller

I tried creating an up-to-date conda environment, cloned the rlrd repo and installed it with pip install -e ., but could not reproduce the issue, the installation went smoothly.

Setuptools is 68.2.2, pip is 23.3.1 and python is 3.10.14

yannbouteiller avatar Apr 01 '24 20:04 yannbouteiller

I had the same issue and it was resolved by changing the gym version in the setup.py

LucMc avatar Sep 17 '24 22:09 LucMc