-
Notifications
You must be signed in to change notification settings - Fork 721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tf-agents ubuntu 24.04 venv pip3 install error on pygame 2.1.3 #933
Comments
I have the same issue that I don't get tf-agents to install properly.
If I don't specify the version, it will search and ends up installing 0.5.0 and then get this warning (and subsequently it doesn't find the import reverb):
I tried to install both dm-reverb and rlds directly but with both I get:
I tried it both with docker python (debian) and ubuntu (and installed python myself). Both for python 3.11 and 3.10 with the same results. Is there anything to be aware of to get this installed properly? Does Docker just not work? PS: I remember also getting the above error at some point, but don't know anymore under which circumstances. |
Ok, I'm not sure if the problem the question is related to is based on this but in regards to Docker on MacOS, I found out the following.
|
(pyenv) dev@ud24:~$ pip3 install tf-agents
Collecting tf-agents
Using cached tf_agents-0.19.0-py3-none-any.whl.metadata (12 kB)
Collecting absl-py>=0.6.1 (from tf-agents)
Using cached absl_py-2.1.0-py3-none-any.whl.metadata (2.3 kB)
Collecting cloudpickle>=1.3 (from tf-agents)
Using cached cloudpickle-3.0.0-py3-none-any.whl.metadata (7.0 kB)
Collecting gin-config>=0.4.0 (from tf-agents)
Using cached gin_config-0.5.0-py3-none-any.whl.metadata (2.9 kB)
Collecting gym<=0.23.0,>=0.17.0 (from tf-agents)
Using cached gym-0.23.0.tar.gz (624 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting numpy>=1.19.0 (from tf-agents)
Using cached numpy-2.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
Collecting pillow (from tf-agents)
Using cached pillow-10.4.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (9.2 kB)
Collecting six>=1.10.0 (from tf-agents)
Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting protobuf>=3.11.3 (from tf-agents)
Using cached protobuf-5.27.2-cp38-abi3-manylinux2014_x86_64.whl.metadata (592 bytes)
Collecting wrapt>=1.11.1 (from tf-agents)
Using cached wrapt-1.16.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)
Collecting typing-extensions==4.5.0 (from tf-agents)
Using cached typing_extensions-4.5.0-py3-none-any.whl.metadata (8.5 kB)
Collecting pygame==2.1.3 (from tf-agents)
Using cached pygame-2.1.3.tar.gz (12.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [47 lines of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel 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.
The text was updated successfully, but these errors were encountered: