Arcade-Learning-Environment icon indicating copy to clipboard operation
Arcade-Learning-Environment copied to clipboard

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

Open conorheins opened this issue 1 year ago • 10 comments

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 avatar Jan 29 '24 11:01 conorheins

were you able to find a solution?

KaranKapur123 avatar Feb 08 '24 20:02 KaranKapur123

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

pseudo-rnd-thoughts avatar Feb 09 '24 11:02 pseudo-rnd-thoughts

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

KaranKapur123 avatar Feb 09 '24 14:02 KaranKapur123

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?

pseudo-rnd-thoughts avatar Feb 09 '24 23:02 pseudo-rnd-thoughts

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.

conorheins avatar Feb 13 '24 09:02 conorheins

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"

jjshoots avatar Feb 23 '24 18:02 jjshoots

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

wanderdust avatar Mar 17 '24 15:03 wanderdust

Still having issues in python 3.11.8

THvVistazo avatar May 17 '24 07:05 THvVistazo

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

cloudflc avatar Jun 12 '24 14:06 cloudflc

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

pseudo-rnd-thoughts avatar Jun 13 '24 13:06 pseudo-rnd-thoughts