Skip to content
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

Fix validate install for fresh install from pip #105

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

thomashopkins32
Copy link

@thomashopkins32 thomashopkins32 commented Nov 8, 2023

Hello, this PR should fix validate_install.py for anyone trying to install the package from pip in a new conda environment.

It bumps the gym version to 0.22.0. This is needed since there is a typo in setup.py in the 0.21.0 version of gym.
(the assertions were failing after I did this but this seems to be the only breaking change)

It fixes the version of importlib_resources since their API changed. I updated the old method to use the new API.

See #104 and #106 for the errors.
Thanks!

Closes #104
Closes #106

@thomashopkins32 thomashopkins32 changed the title Bump gym version to 0.22.0 Fix validate install for fresh install from pip Nov 13, 2023
@YXHXianYu
Copy link

Very helpful! I can run this version directly (after setting Java to the officially recommended Java 8). Thanks!

@ivantha
Copy link

ivantha commented Mar 22, 2024

This worked for me as well. Thanks @thomashopkins32
Hope this PR gets merged eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

importlib_resources is using the old API Bump gym version to fix setup.py error
3 participants