Farama-Foundation / Arcade-Learning-Environment

The Arcade Learning Environment (ALE) -- a platform for AI research.
GNU General Public License v2.0
2.1k stars 416 forks source link

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 5 months ago

conorheins commented 5 months ago

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?

KaranKapur123 commented 5 months ago

were you able to find a solution?

pseudo-rnd-thoughts commented 5 months ago

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

KaranKapur123 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 2 months ago

Still having issues in python 3.11.8

cloudflc commented 1 month ago

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 commented 1 month ago

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