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

Unit 6 part 2 - gym installation not working #300

Closed
Victorivus opened this issue Apr 28, 2023 · 10 comments
Closed

Unit 6 part 2 - gym installation not working #300

Victorivus opened this issue Apr 28, 2023 · 10 comments

Comments

@Victorivus
Copy link

It is not possible to install gym 0.21.0 (see error below, error: metadata-generation-failed).

image

If I manually install a newer version to avoid this error tied to version 0.21.0 then installation succeeds but the code won't run: env = gym.make(env_id) doesn't work (AttributeError: module 'gym' has no attribute 'GoalEnv').

image

It is then impossible to run part 2.

@simoninithomas
Copy link
Member

Hey there we currently updating this notebook before the end of the week with gymnasium I keep you updated

@ARandomFrenchDev
Copy link

+1, commenting to get an update when a fix is pushed!

1 similar comment
@kujaomega
Copy link
Contributor

+1, commenting to get an update when a fix is pushed!

@kujaomega
Copy link
Contributor

kujaomega commented May 11, 2023

Here it is the pending PR https://github.com/huggingface/deep-rl-class/pull/322/files. Setting wheel package version also worked for me !pip install setuptools==65.5.0 wheel==0.38.4

@simoninithomas
Copy link
Member

Did you succeed to get a video on push to hub? We struggle on this part @kujaomega

@kujaomega
Copy link
Contributor

kujaomega commented May 11, 2023

Yes, I recently pushed two models from unit 6 with video

@kujaomega
Copy link
Contributor

This PR fixed the issue for me #323

@Victorivus
Copy link
Author

Victorivus commented May 12, 2023

It has also worked for me:

!pip install setuptools==65.5.0 wheel==0.38.4
!pip install -r https://raw.githubusercontent.com/huggingface/deep-rl-class/main/notebooks/unit6/requirements-unit6.txt

I was able to push a model and there is indeed a video @simoninithomas

@sidharths
Copy link

I tried all solutions mentioned here and I am getting this error on current unit 6 notebook.

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

No branches or pull requests

5 participants