Cannot install RAY

Question:

Ray library from RISE lab (https://rise.cs.berkeley.edu/blog/pandas-on-ray/)

I am using Windows 10 Pro, 64-bit and running these scripts from Anaconda prompt.

I have tried both

pip install ray 

and

pip3 install ray

with the same result

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

It would be great to find a workaround or troubleshooting this. Thanks

Asked By: cube

||

Answers:

UPDATE: Ray does support Windows in experimental capacity now!

See Windows installation instructions here:

https://docs.ray.io/en/latest/installation.html#windows-support


Ray does not support Windows:

https://github.com/ray-project/ray/issues/2683

https://github.com/ray-project/ray/issues/631

They propose to use the Windows subsystem for Linux as the most efficient workaround:

https://learn.microsoft.com/en-us/windows/wsl/install-win10

Answered By: Steven

If you are on python 3.11 (as of 7th of Feb ’23) Ray is also not available, so you need to downgrade to python 3.10 for now

You can install python 3.10 parallel to 3.11 and use the following commands to create a 3.10 environment

python3.10 -m venv venv
source ./venv/bin/activate
pip install ray
Answered By: Romeo Kienzler
Categories: questions Tags: , , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.