On Windows 10 and a fresh Python 3.8 environment on conda 4.8.3, I cloned the pyro repository and ran
python setup.py install
After running for a while it fails because it cannot install torch.
I realize this is similar to the other thread called “Install fails on windows”, but the solution there (different python in the path) does not apply to me. I am using the python installed in my fresh conda environment.
How can I fix this?
This is what I see at the tail of console messages:
(…)
Installing tqdm-script.py script to C:\Users\Me\AppData\Local\Continuum\anaconda3\envs\pyro\Scripts
Installing tqdm.exe script to C:\Users\Me\AppData\Local\Continuum\anaconda3\envs\pyro\Scripts
Installed c:\Users\Me\appdata\local\continuum\anaconda3\envs\pyro\lib\site-packages\tqdm-4.46.0-py3.8.egg
Searching for torch>=1.5.0
Reading https://pypi.org/simple/torch/
No local packages or working download links found for torch>=1.5.0
error: Could not find suitable distribution for Requirement.parse('torch>=1.5.0')
(pyro) C:\Users\Me\Documents\Research\pyro>conda install torch
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- torch