Open Filco306 opened 3 years ago
Yeah! It's because one of the core dependencies (Ray) currently doesn't work on 3.9. I've brought this up with the team and there's currently ongoing work (expect to be available in January!)
Okay awesome, thank you very much! :D Leaving this open until then in that case ;)
Working now! Closing this!
I still have this issue. pip install -U ray says ERROR: No matching distribution found for ray
What version of pip are you using @Miladiouss ?
@richardliaw
pip 21.0.1 py39h06a4308_0
python 3.9.4 hdb3f193_0
Btw, I'm using Ubuntu 20.
same error here pip 21.1.1 Python 3.8.8
@Miladiouss I'll just keep this open - we don't have 3.9 support for Ray yet.
@lindu2770 not sure why you're seeing this error...
Thanks @richardliaw, for reference for others, I had to go to Python 3.7 to install ray.
Thanks @Miladiouss Python 3.7 worked for me as well.
When I go to https://pypi.org/project/ray/#history then I see the following versions supported:
If 3.9 is not supported yet, maybe the version mentioned should be removed.
I encountered the same issue with Python 3.10, which is supported by Ray 1.12.1 according to the setup.py. The error was ERROR: Could not find a version that satisfies the requirement ray (from versions: none) ERROR: No matching distribution found for ray
I suspect this is because ray doesn't publish sdists, only wheels, and everyone getting bitten by this is running ARM64 Linux (either directly or by running it in Docker inside an M1 laptop), which Ray doesn't publish any wheels for. It has nothing to do with the Python version. You can see this from the fact that installation fails on 3.7 with aarch64, but succeeds on 3.7 with amd64.
❯ docker run --rm -it --entrypoint bash python:3.7
root@04c16f477698:/# python --version
Python 3.7.13
root@04c16f477698:/# uname -m
aarch64
root@04c16f477698:/# pip install ray
ERROR: Could not find a version that satisfies the requirement ray (from versions: none)
ERROR: No matching distribution found for ray
WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
root@04c16f477698:/#
exit
vs.
❯ docker run --platform linux/amd64 --rm -it --entrypoint bash python:3.7
root@f620159b1b80:/# python --version
Python 3.7.13
root@f620159b1b80:/# uname -m
x86_64
root@f620159b1b80:/# pip install ray
[a successful install]
@deifactor Thanks for the hint! Had the similar issue, fixed it by switching from aarch64 to amd64.
This is still a problem on windows 10 on python 3.10
For me, problem solved with directly pip installing .whl from https://docs.ray.io/en/latest/ray-overview/installation.html which I am py3.10 on win10, just for reference
For me, problem solved with directly pip installing .whl from https://docs.ray.io/en/latest/ray-overview/installation.html which I am py3.10 on win10, just for reference
@GLGDLY Can you give the link for the wheels? I can't find those.
For me, problem solved with directly pip installing .whl from https://docs.ray.io/en/latest/ray-overview/installation.html which I am py3.10 on win10, just for reference
@GLGDLY Can you give the link for the wheels? I can't find those.
Windows: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp310-cp310-win_amd64.whl
just change the version in the url to get wheels for other python versions, such as: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp39-cp39-win_amd64.whl
ERROR: Could not find a version that satisfies the requirement ray[default,tune]>=2.0.0 (from finrl) (from versions: none) ERROR: No matching distribution found for ray[default,tune]>=2.0.0
Trying with py 3.9, 3.10.5 and few other. On win 11. Tried as well directly pip installing .whl Nothing seems to help.
I am not experienced with python. fyi.
On Python 3.11 and it does not install either.
For me, problem solved with directly pip installing .whl from https://docs.ray.io/en/latest/ray-overview/installation.html which I am py3.10 on win10, just for reference
@GLGDLY Can you give the link for the wheels? I can't find those.
Windows: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp310-cp310-win_amd64.whl
just change the version in the url to get wheels for other python versions, such as: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp39-cp39-win_amd64.whl
tried this but still have errors ERROR: Could not find a version that satisfies the requirement ray-3.0.0.dev0-cp310-cp310-win_amd64 (from versions: none) ERROR: No matching distribution found for ray-3.0.0.dev0-cp310-cp310-win_amd64
well..im getting this error today trying to rebuild my container... guessing it's related to python 3.12 bump with the image im using
Hello,
I currently cannot install this package when I use the pip installment.
I have tried both ways of installing, and I get:
My python3 version:
Would you perhaps know what is wrong? Thank you very much!