安装python出现is not a supported wheel on this platform解决办法

安装python库numpy的时候出现numpy-1.12.1+mkl-cp27-cp27m-win32.whl is not a supported wheel on this platform

You are using pip version 8.1.1, however version 9.0.1 is available.You should consider upgrading via the 'python -m pip install --upgrade pip' com and.

首先下载相关库的网站下载相关的库http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

出现错误的原因有下面几个

1.版本不匹配查看python的版本是否匹配

安装python出现is not a supported wheel on this platform解决办法_第1张图片

列如我的版本是2.7的,就只能安装cp27的

2.pip命令下的文件名不支持

查看当前pip命令支持的文件名还有版本,在shell中输入import pip; print(pip.pep425tags.get_supported())

安装python出现is not a supported wheel on this platform解决办法_第2张图片

安装python -m pip install "numpy-1.12.1+mkl-cp27-cp27m-win32.whl"

安装python出现is not a supported wheel on this platform解决办法_第3张图片

简单测试是否安装成功

安装python出现is not a supported wheel on this platform解决办法_第4张图片

安装成功,安装其他的框架也相似







你可能感兴趣的:(python,python,numpy)