The error message of installing numpy in python2.7 is as follows:
C:\Python27\Scripts>pipinstall"numpy-1.9.2+mkl-cp26-none-win_amd64.whl"
numpy-1.9.2+mkl-cp26-none-win_amd64.whlisnotasupportedwheelonthisplatfor
m.
Error reason:
In fact, my Python version is 2.7 and my numpy version is 2.6, so it’s wrong
Solution:
See: file name.wheel is not supported wheel on this platform
Download the numpy installation file of the corresponding version of Python:
Download the file version cp27
Re install run:
C:\Python27\Scripts>pipinstall"numpy-1.9.2+mkl-cp26-none-win_amd64.whl"
numpy-1.9.2+mkl-cp26-none-win_amd64.whlisnotasupportedwheelonthisplatfor
m.
C:\Python27\Scripts>pipinstallC:\python-tools\numpy-1.9.2+mkl-cp27-none-win_am
d64.whl
Processingc:\python-tools\numpy-1.9.2+mkl-cp27-none-win_amd64.whl
Installingcollectedpackages:numpy
Foundexistinginstallation:numpy1.9.2
Uninstallingnumpy-1.9.2:
Successfullyuninstallednumpy-1.9.2
Successfullyinstallednumpy-1.9.2
C:\Python27\Scripts>
Successfully installed
Verify the installation success in shell:
>>>fromnumpyimport*
>>>
Similar Posts:
- [Solved] pip Install Error: is not a supported wheel on this platform
- [Solved] “import numpy as np” ImportError: No module named numpy
- Mac OS uses pip to install pandas prompt cannot install ‘numpy’ solution
- Windows Python Install: requires numpy+mkl & ImportError: cannot import name NUMPY_MKL
- [Solved] Importerror: DLL load failed while importing mtrand: the specified program could not be found.
- MySQL_python‑1.2.5‑cp27‑none‑win_amd64.whl is not a valid wheel filename.
- Exception record-No module named ‘numpy.core._multiarray_umath
- [Solved] pytorchImportError: numpy.core.multiarray failed to import
- PIP install Error: Could not fetch URL [How to Solve]
- Pycharm introduces numpy error: ImportError: Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy.