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

Running the diffusion policy colab, subprocess-exited-with-error #2

Closed
DanielTakeshi opened this issue Mar 24, 2023 · 6 comments
Closed
Labels
bug Something isn't working

Comments

@DanielTakeshi
Copy link

DanielTakeshi commented Mar 24, 2023

I am attempting to run the state-based colab. But the first cell seems to be running into an issue.

Screenshot from 2023-03-24 09-58-59

I think the first cell tries to run the installation code, but I get the error as shown in the screenshot above. For your copy/paste convenience, the error message is:

Python 3.9.16
  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.
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.

Is there something that I am missing with regards to how to run and use colab? I am also running into the same error with the vision-based Diffusion Policy colab. For colab, normally I just run the cells by clicking the arrow that runs the cell, or just SHIFT+ENTER.

@DanielTakeshi
Copy link
Author

@cheng-chi Someone else also independently told me of running into this issue. We're wondering if you might be able to take a look? This way we can quickly build upon your work to increase its impact. :)

@cheng-chi
Copy link
Collaborator

Hi @DanielTakeshi there seems to be something wrong with the gym package. Investigating
Screenshot 2023-03-31 at 13 13 46

@cheng-chi cheng-chi added the bug Something isn't working label Mar 31, 2023
@cheng-chi
Copy link
Collaborator

Related to openai/gym#3176

@cheng-chi
Copy link
Collaborator

Fixed by pinning setuptools==65.5.0.

@AnqiaoLi
Copy link

I still run into the same issue with setuptools==65.5.0 . And I fixed it by adding pip==22. Which is also mentioned in openai/gym#3176

@cheng-chi
Copy link
Collaborator

@AnqiaoLi Thanks for the suggestion! I just updated the CoLab notebook with pip==22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants