Reputation: 150
I am attempting to install .whl file types to Python, specifically the numpy+mkl 1.14 via the command prompt. When I put in the command pip install "numpy-1.14.2+mkl-cp36-cp36m-win_amd64.whl"
I get the following output.
numpy-1.14.2+mkl-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.
I have not found a fix that works for me and I have done the following:
pip.pep425tags.get_supported()
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)] on win32
...
('cp36', 'cp36m', 'win_amd64')
pip --version
pip 9.0.3 from c:\users\alex\appdata\local\programs\python\python36-32\lib\site-packages (python 3.6)
numpy-1.14.2+mkl-cp36-none-win_amd64.whl is not a supported wheel on this platform.
Upvotes: 2
Views: 4354
Reputation: 140196
you're running the wrong pip
executable.
You should run Python 3.6 64 bit, you're running the 32 bit version. Of course, it complains because a 32 bit pip
cannot install 64 bit packages (on the 32 bit associated version)
Locate python 64 bit (I have it in C:\Program Files\Python36
), then in the Scripts
subdir you have pip
. Type full path:
"C:\Program Files\Python36\Scripts\pip" install "numpy-1.14.2+mkl-cp36-cp36m-win_amd64.whl"
You may have to run it from an elevated cmd to get sufficient install rights
(phd comment helped to solve it by suggesting to try pip --version
, kudos)
Upvotes: 3