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
Gym does not support Python 3.9 because of Pillow<=7.2.0 #2203
Comments
@pzhokhov @justinkterry |
Facing same issue! |
Python 3.9 is now the system default in Ubuntu 21.04. This needs fixing. Why is the Pillow version pinned currently? |
@danijar , i got the dep pins fixed in my PR. Just need some reviewers now. |
Gym does not currently provide a PyPi package that is compatible with a recent Pillow version: openai/gym#2203
While the new package is being built, here is a workaround for people finding this issue. This works because Gym says it requires an old version of Pillow but actually also works with newer versions. So we install the newest Pillow, ignoring the Gym dependency on its old version:
|
Fixed with PRs merged today. |
Python 3.9 is supported by Pillow 8.0+ only (source). Gym currently depends on Pillow<=7.2.0. This means
pip3 install gym
fails for newer Python versions. Depending on Pillow<=7.2.0 also means gym cannot be installed in parallel with projects that require more up-to-date versions (source).Error message
The text was updated successfully, but these errors were encountered: