Farama-Foundation / Arcade-Learning-Environment

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

Installation issue: Package not found ale-py #447

Closed jaiswalharsh closed 2 years ago

jaiswalharsh commented 2 years ago

I have tried many hours to find a way to install ale-py but no luck. I have been trying to run OpenAI gym with Atari dependency and cannot go forward without installing ale-py

pip install gym[all] OR pip install ale-py both throw the following error which I can't seem to solve.

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

I am running Ubuntu 18.04 and using python version 3.6.9.

Any help would be appreciated.

JesseFarebro commented 2 years ago

Hi, can you give me the details of your system? What OS? What Python version?

jaiswalharsh commented 2 years ago

Hi, can you give me the details of your system? What OS? What Python version?

I have updated the issue description with the details.

jaiswalharsh commented 2 years ago

Also for more specific details running pip install gym[atari] tries to find a specific version of ale-py==0.7.1

JesseFarebro commented 2 years ago

So you won't be able to download the latest version of ale-py because Python 3.6 is deprecated as of December 2021. You can still try to download 0.7.1 which did publish 3.6 binaries. Try,

pip install ale-py==0.7.1

Also, make sure pip is up to date or the above might fail.

jaiswalharsh commented 2 years ago

It worked! I upgraded pip using: pip install --upgrade pip

Thank you for your fast reply! :)