Cannot install numpy from wheel format Cannot install numpy from wheel format numpy numpy

Cannot install numpy from wheel format


Short answer: rename the file to numpy-1.9.1%2Bmkl-cp34-none-win32.whl to install it.

You can check what tags your pip tool accepts for installation by running:

import pip; print(pip.pep425tags.get_supported())

In this case pip is incorrectly detecting your operating system to be 32-bits and the file you're trying to install was win_amd64 in its filename.

If you rename the file to numpy-1.9.1%2Bmkl-cp34-none-win32.whl (which now contains the tags that are considered supported) then you can install the package. It's a trick because the file is still built for 64-bits but this allows you to install the package as intended.


After several tests I think the problem is "win32" or "amd64" itself. I tried replacing those two with "any" and it worked.

I'm pretty much a newbie on these kind of installation/compilation thing, so excuse me if I misled anyone, just thought that if it worked for me, it might work for someone else.


In my case workaround to install gohlke packages on python (3.4.4 (AMD64)) was to change the "cp34m" part rather than "win*" parts above:

python -c "import pip; print(pip.pep425tags.get_supported())":

[('cp34', 'none', 'win_amd64'), ('py3', 'none', 'win_amd64'), ('cp34', 'none', 'any'), ...

ls -ld *:

matplotlib-2.0.0b3-cp34-cp34m-win_amd64.whlnumpy-1.11.1+mkl-cp34-cp34m-win_amd64.whlpandas-0.18.1-cp34-cp34m-win_amd64.whl

Change above names to:

matplotlib-2.0.0b3-cp34-none-win_amd64.whlnumpy-1.11.1+mkl-cp34-none-win_amd64.whlpandas-0.18.1-cp34-none-win_amd64.whl

eg, pip install matplotlib-2.0.0b3-cp34-none-win_amd64.whl

Processing ......Successfully installed matplotlib-2.0.0b3