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

pip installation issue: pip cannot find ale-py (Mac OS 10.14, Python 3.9, 3.10, 3.11, 3.12) #504

Open
conorheins opened this issue Jan 29, 2024 · 10 comments

Comments

@conorheins
Copy link

conorheins commented Jan 29, 2024

This issue is a duplicate of the closed Issue #447 , except the suggested solution there did not work for me.
I have been trying to install OpenAI gym with Atari dependency and cannot go forward without installing ale-py

pip install gym[atari]

and

pip install ale-py 

both throw the following error which I can't seem to solve.

ERROR: Could not find a version that satisfies the requirement ale-py (from versions: none)
ERROR: No matching distribution found for ale-py

I am running Mac OSX 10.14 (Mojave), and get the same errror in different conda environments ( Python 3.9, 3.10, 3.11, and 3.12).

My pip version is 23.3.2 (I have ran pip install --upgrade and that also doesn't solve it).

Any ideas on what the issue could be?

@conorheins conorheins changed the title pip installation issue: pip cannot find ale-py (Mac OS 10.14, Python 3.10, 3.11, 3.12) pip installation issue: pip cannot find ale-py (Mac OS 10.14, Python 3.9, 3.10, 3.11, 3.12) Jan 29, 2024
@KaranKapur123
Copy link

were you able to find a solution?

@pseudo-rnd-thoughts
Copy link
Member

If you just try to install ale-py does it work? pip install ale-py?

@KaranKapur123
Copy link

KaranKapur123 commented Feb 9, 2024

If you just try to install ale-py does it work? pip install ale-py?

getting this error
ERROR: Could not find a version that satisfies the requirement ale-py (from versions: none)
ERROR: No matching distribution found for ale-py
Edit: Im on windows

@pseudo-rnd-thoughts
Copy link
Member

Looking at the pypi files - https://pypi.org/project/ale-py/0.8.1/#files
There are windows amd64 files, I'm guessing that your computer has another spec, windows 32?

@conorheins
Copy link
Author

Still don't have a solution, unfortunately -- I suspect this is actually an issue with pip rather than with ale-py per se, since I get it to work fine on a different machine with a fresh install.

@jjshoots
Copy link
Member

jjshoots commented Feb 23, 2024

Late to the show, but this seems like a pypi index issue. One thing you can try is:

pip3 install ale-py -i "https://pypi.org/simple"

@wanderdust
Copy link

I know you've mentioned in your description, but for me using python 3.10 has fixed the issue.

https://stackoverflow.com/questions/78136139/pip-cant-find-ale-py-package

@THvVistazo
Copy link

Still having issues in python 3.11.8

@cloudflc
Copy link

Looking at the pypi files - https://pypi.org/project/ale-py/0.8.1/#files There are windows amd64 files, I'm guessing that your computer has another spec, windows 32?

my computer is winodws 32, how can I install ale-py==0.8.0,I want to let my students use gym to learn DQN

@pseudo-rnd-thoughts
Copy link
Member

My primary recommendation is to stop using a windows 32 machine.
Second would be for you to build your own version of the code using vcpkg and cmake

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

7 participants