18

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

cube
  • 345
  • 1
  • 2
  • 9

3 Answers3

23

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

lollercoaster
  • 15,969
  • 35
  • 115
  • 173
Steven
  • 619
  • 1
  • 7
  • 21
  • 2
    Do you have some timing comparisons between ray on windows subsystem for linux and ray on a proper linux? – Tavy Jun 27 '19 at 08:12
  • If you're looking for more detailed instructions for the Windows installation, you find them here: https://www.btelligent.com/en/blog/how-to-install-ray-under-windows/ – MightyCurious Apr 26 '22 at 04:00
10

Ray for windows is now available...

https://pypi.org/project/ray/

https://docs.ray.io/en/master/installation.html

4

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
Romeo Kienzler
  • 3,373
  • 3
  • 36
  • 58