Install fails on windows

Dear Pyro users,

Im trying to install pyro on a win10 machine and run into problems. (Ive successed about a year ago on another machine but there seem to be some issue now.)

I have created a new virtual environment in which pytorch 1.4.0 is installed. When trying to install pyro I run the command:

pip3 install pyro-ppl

in my virtual environment. Then I get the errors:

“Could not find a version that satisfies the requirement torch>=1.4.0 (from pyro-ppl) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
No matching distribution found for torch>=1.4.0 (from pyro-ppl)
You are using pip version 10.0.1, however version 20.0.2 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.”

I guessed that I couldnt use such high version of pytorch. However downgrading to version 1.2 did not help, it gave the same message about version 1.4.0. Im also a bit confused about the message about pip. When upgrading pip it tells me the latest version 20.0.2 is already installed. I have also reinstalled with a new environment with no success.


Maybe pytorch and pyro-ppl are not installed in the same virtualenv (for instance if pip3 is picking up a different python install). Could you check the output of pip freeze and ensure that both are correctly installed? The pytorch and pip versions are really old so I’m quite sure its installing pyro-ppl in some other location.

Thank you for the help!. Indeed, it was picking up another install that was set in my windows path. After removing that from the path I could successfully install pyro.