When I install compiler_gym, such errors are reported, and I find the similar errors appear when I install other package, I guess maybe the version is wrong, but I don't know how to solve it.
Additional Context
The reported errors are below.
Collecting compiler_gym
Using cached compiler_gym-0.2.5-py3-none-manylinux2014_x86_64.whl (29.6 MB)
Requirement already satisfied: absl-py>=0.10.0 in /usr/local/lib/python3.10/dist-packages (from compiler_gym) (1.4.0)
Collecting deprecated>=1.2.12 (from compiler_gym)
Using cached Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB)
Collecting docker>=4.0.0 (from compiler_gym)
Using cached docker-6.1.3-py3-none-any.whl (148 kB)
Collecting fasteners>=0.15 (from compiler_gym)
Using cached fasteners-0.18-py3-none-any.whl (18 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 (4.1 MB)
Collecting gym<=0.21,>=0.18.0 (from compiler_gym)
Using cached gym-0.21.0.tar.gz (1.5 MB)
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
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.
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
[<ipython-input-2-cb1f3b40afdf>](https://localhost:8080/#) in <cell line: 11>()
9 # for the LLVM environment so that the rest of the code cells in
10 # this document are nice and snappy.
---> 11 import compiler_gym
12 with compiler_gym.make("llvm-autophase-ic-v0") as env:
13 env.reset()
ModuleNotFoundError: No module named 'compiler_gym'
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
❓ Questions and Help
When I install compiler_gym, such errors are reported, and I find the similar errors appear when I install other package, I guess maybe the version is wrong, but I don't know how to solve it.
Additional Context
The reported errors are below.