ray-project / ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
https://ray.io
Apache License 2.0
33.71k stars 5.73k forks source link

Install Ray version 1.5.2 #46776

Open safaieabolfazl opened 3 months ago

safaieabolfazl commented 3 months ago

I want to run the extended library done by frenkowski but I'm having trouble installing the version suggested in this library and I can't fix it. Is the problem with the Python version? What version of Python do you recommend for this problem? (My system is Windows.) Github address of these codes: https://github.com/frenkowski/SCIMAI-Gym/blob/main/ECML-PKDD_SCIMAI-Gym.ipynb

Finally, I want to build a deep reinforcement learning agent that uses codes import ray.rllib.agents.a3c as a3c import ray.rllib.agents.pg as pg import ray.rllib.agents.ppo as ppo

But the need to install ray is said that I can't install it. What solution do you suggest?

Superskyyy commented 3 months ago

It's very vague when you mention that "I can't install it", please try to provide a stacktrace that it's not working or installation doesn't go through, that would help us to locate the problem. Thanks

safaieabolfazl commented 3 months ago

It's very vague when you mention that "I can't install it", please try to provide a stacktrace that it's not working or installation doesn't go through, that would help us to locate the problem. Thanks

I have this error

ERROR: Could not find a version that satisfies the requirement ray==1.5.2

ERROR: No matching distribution found for ray==1.5.2

when I want to install (%pip install ray==1.5.2) in google colab with python version 3.12.

Superskyyy commented 3 months ago

It's very vague when you mention that "I can't install it", please try to provide a stacktrace that it's not working or installation doesn't go through, that would help us to locate the problem. Thanks

I have this error #ERROR: Could not find a version that satisfies the requirement ray==1.5.2 #ERROR: No matching distribution found for ray==1.5.2 when I want to install (%pip install ray==1.5.2) in google colab with python version 3.12.

They won't work, Ray 1.5.2 was like 3 years ago and has no python 3.12 support. Please simply use the latest version or downgrade your python to ~3.9