I am installing pytorch with pip3. I am using the commands from the website:
pip3 install http://download.pytorch.org/whl/cu90/torch-0.3.0.post4-cp35-cp35m-linux_x86_64.whl pip3 install torchvision
The first one works perfectly and installs pytorch. The second one, however, gives:
Collecting torchvision Using cached torchvision-0.2.0-py2.py3-none-any.whl Collecting numpy (from torchvision) Using cached numpy-1.14.0-cp35-cp35m-manylinux1_x86_64.whl Collecting six (from torchvision) Using cached six-1.11.0-py2.py3-none-any.whl Collecting pillow>=4.1.1 (from torchvision) Using cached Pillow-5.0.0-cp35-cp35m-manylinux1_x86_64.whl Collecting torch (from torchvision) Using cached torch-0.1.2.post1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-dxvvgs_4/torch/setup.py", line 11, in <module> raise RuntimeError(README) RuntimeError: PyTorch does not currently provide packages for PyPI (see status at https://github.com/pytorch/pytorch/issues/566). Please follow the instructions at http://pytorch.org/ to install with miniconda instead. ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-dxvvgs_4/torch/ You are using pip version 8.1.1, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
The problem is I do not want to use anaconda, I just want a regular pip3 installation. I remember stumbling across this error some time ago, and I somehow managed to overcome it, but I really don’t remember how.