Skip to content

Unable to install via pip #833

@haoyuwang99

Description

@haoyuwang99

❓ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions