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
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
/common/home/users/h/haoyu.wang.2024/.conda/envs/compiler/lib/python3.10/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
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.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered:
This issue seems to be related to a recent change in setuptools that causes a conflict with the gym setup script.
A workaround for this issue is to downgrade setuptools to version 50.0.0.
Hello,
I have the same issue. The workaround doesn't work on my side because I get this following error :
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute setup.py since setuptools is not available in the build environment.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
❓ Questions and Help
pip install -U compiler_gym
Collecting compiler_gym
Using cached compiler_gym-0.2.5-py3-none-manylinux2014_x86_64.whl.metadata (11 kB)
Collecting absl-py>=0.10.0 (from compiler_gym)
Using cached absl_py-2.1.0-py3-none-any.whl.metadata (2.3 kB)
Collecting deprecated>=1.2.12 (from compiler_gym)
Using cached Deprecated-1.2.14-py2.py3-none-any.whl.metadata (5.4 kB)
Collecting docker>=4.0.0 (from compiler_gym)
Using cached docker-7.1.0-py3-none-any.whl.metadata (3.8 kB)
Collecting fasteners>=0.15 (from compiler_gym)
Using cached fasteners-0.19-py3-none-any.whl.metadata (4.9 kB)
Collecting grpcio<1.44.0,>=1.32.0 (from compiler_gym)
Using cached grpcio-1.43.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
Collecting gym<=0.21,>=0.18.0 (from compiler_gym)
Using cached gym-0.21.0.tar.gz (1.5 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
/common/home/users/h/haoyu.wang.2024/.conda/envs/compiler/lib/python3.10/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
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.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered: