Cannot install via pip on LINUX?

I am getting the following error when I try to install on my 64-bit Ubuntu 14.04 LTS system. The command I run is:

pip install https://s3.amazonaws.com/pytorch/whl/cu80/torch-0.1.6.post22-cp27-cp27mu-linux_x86_64.whl

And the error I get is:

torch-0.1.6.post22-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.

After that it says:

/data/venv/pytorch/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning

For additional context, I have made a virtual environment (called pytorch) first, and then within that environment, I tried to run the install command.

This is now fixed. Please use the latest pip install commands from the website pytorch.org (I updated the website)

1 Like