facebookresearch / CompilerGym

Reinforcement learning environments for compiler and program optimization tasks
https://compilergym.ai/
MIT License
880 stars 123 forks source link

`pip install gym ` fails on modern setuptools #817

Open ChrisCummins opened 10 months ago

ChrisCummins commented 10 months ago

The build step pip install -U 'gym>=0.18.0,<0.21' fails on setuptools 68.0.0 with error:

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.

Workaround:

pip install -U 'setuptools==50.0.0'