[Bug] Unable to install pytorch 1.3.0 via pip on Windows 10 due to malformed URL on mirror

First of all thank you very much for the great work :slight_smile:

installing pytorch 1.3.0 via pip in Windows 10 fails with

ERROR: Could not find a version that satisfies the requirement torch>=1.1.0 (from flair==0.4.4->-r requirements.txt (line 30)) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch>=1.1.0 (from flair==0.4.4->-r requirements.txt (line 30))

I fixed it by downloading and installing the wheel manually from https://download.pytorch.org/whl/torch_stable.html

The reason pip can not find it is in the URL:


The %2B somehow snuck in there and breaks pip’s lookup mechanism. It only occurs for some versions, not all of them.

1 Like