Fails to install `ray` in conda env with python 3.7.4
See original GitHub issueSystem information
- OS Platform and Distribution: Linux Ubuntu 18.04
- Ray installed from: via pip in conda env
- Ray version: 0.7.3
- Python version: 3.6 and 3.7
- Exact command to reproduce:
Describe the problem
ray
can be installed as part of a conda env when using python 3.6, but not with python 3.7.
Given the following environment.yml
and install command I can install ray
:
# environment.yml
name: ray_on_conda
channels:
- defaults
dependencies:
- python=3.6
- pip
- pip:
- "ray==0.7.3"
conda env create -f envrionment.yml
If I use python 3.7, I can’t install ray:
# environment.yml
name: ray_on_conda
channels:
- defaults
dependencies:
- python=3.7
- pip
- pip:
- "ray==0.7.3"
I get the following error:
...
Ran pip subprocess with arguments:
['/home/user/anaconda3/envs/ray_on_conda/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/user/tmp/ray_on_conda/condaenv.l15tlbje.requirements.txt']
Pip subprocess output:
8.3.0
Collecting ray==0.7.3 (from -r /home/user/tmp/ray_on_conda/condaenv.l15tlbje.requirements.txt (line 1))
Pip subprocess error:
ERROR: Could not find a version that satisfies the requirement ray==0.7.3 (from -r /home/user/tmp/ray_on_conda/condaenv.l15tlbje.requirements.txt (line 1)) (from version
s: none)
ERROR: No matching distribution found for ray==0.7.3 (from -r /home/user/tmp/ray_on_conda/condaenv.l15tlbje.requirements.txt (line 1))
Note that a direct pip install ray
in the conda env with python 3.7 also fails.
If I create a virtualenv with python 3.7 virtualenv -p python3.7
I can run pip install ray
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Installing Ray — Ray 2.2.0 - the Ray documentation
While using a conda environment, it is recommended to install Ray from PyPi using pip install ray in the newly created environment. Building...
Read more >Downloading spacy ray in an anaconda virtual environment ...
1 Answer 1 · So I tried to downgrade the python in my virtual environment by using 'conda install python=3.7.3" followed by 'pip...
Read more >How to Install TensorFlow with GPU Support on Windows 10 ...
I'll walk you through the best way I have found so far to get a good TensorFlow work environment on Windows 10 including...
Read more >Python 3.7 Package Build Out & Miniconda Release - Anaconda
By Ray Donnelly & Crystal Soja We are pleased to announce that Python 3.7 ... If you have a Python 3 environment with...
Read more >Python on Biowulf - NIH HPC
If you have problems that are resolved by adding the -s option a broken package installed in your home directory may be the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi. I am having this issue with python=3.9.5, on MacOS 11.3.1. I get: Pip subprocess error: ERROR: Could not find a version that satisfies the requirement ray[all]>=1.2 (from versions: none) ERROR: No matching distribution found for ray[all]>=1.2 my environment.yml channels:
defaults dependencies:
pandas=1.2.4
pip=21.1.1
plotly=4.14.3
python=3.9.5
pip:
Thanks @simon-mo!