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

Error running pip install -e python #255

Open
stokesj0001 opened this issue Sep 29, 2023 · 8 comments
Open

Error running pip install -e python #255

stokesj0001 opened this issue Sep 29, 2023 · 8 comments

Comments

@stokesj0001
Copy link

What platform am I on? What are my system specifications? Do I meet the minimum specifications for the Unreal Engine?

Windows. Not technically.

What am I attempting to do, what do I expect to happen, and what actually happened?

I was following https://github.com/isl-org/spear/blob/main/docs/getting_started.md and got to command,

pip install -e python

which produced the following error.

spear_getting_started_error

I was able to resolve this error with: https://stackoverflow.com/questions/76129688/why-is-pip-install-gym-failing-with-python-setup-py-egg-info-did-not-run-succ

@mikeroberts3000
Copy link
Collaborator

mikeroberts3000 commented Oct 2, 2023

Hi Jonathan, thanks for investigating this. What exactly was your solution? Did you modify the version numbers in our setup.py file?

@RachithP
Copy link
Collaborator

RachithP commented Oct 2, 2023

Looks like this issue should be reproducible with the mentioned package versions (of setuptools, wheel, pip), but weirdly enough, I'm not able to reproduce it on my windows machine. I'm using conda 4.11.0 and python 3.8.18.

Screenshot 2023-10-02 114029

@mikeroberts3000
Copy link
Collaborator

That is strange. @RachithP has all the same versions of all the packages that @stokesj0001 has when this error occurred, as indicated by pip list.

@stokesj0001
Copy link
Author

The workaround for me was to downgrade setuptools and wheel as mentioned in the stackoverflow post.

pip install setuptools==65.5.0 "wheel<0.40.0"

Then install the 0.21.0 version of gym

pip install gym==0.21.0

@mikeroberts3000
Copy link
Collaborator

Ah ok. That is good to know. So far, we haven't explicitly included setuptools or wheel in the dependencies listed in our setup.py file. But this issue is making me think that we should. We'll need to verify that the change works on all our supported platforms, so I'll leave this issue open until we have a chance to do that.

@stokesj0001
Copy link
Author

I was using:

conda: 23.5.2
python: 3.8.18
pip: 22.3.1

@thias15
Copy link

thias15 commented Dec 12, 2023

What platform am I on? What are my system specifications? Do I meet the minimum specifications for the Unreal Engine?

Windows. Not technically.

What am I attempting to do, what do I expect to happen, and what actually happened?

I was following https://github.com/isl-org/spear/blob/main/docs/getting_started.md and got to command,

pip install -e python

which produced the following error.

spear_getting_started_error

I was able to resolve this error with: https://stackoverflow.com/questions/76129688/why-is-pip-install-gym-failing-with-python-setup-py-egg-info-did-not-run-succ

This error is probably due to the version of gym not being available for the OS. Try updating the setup.py in the python folder to a more recent version of gym, e.g. 0.26.x

@mikeroberts3000
Copy link
Collaborator

Thanks @thias15!

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

4 participants