Python Pip安装:whl is not a supported wheel on this platform问题的解决

在安装locust压测工具时遇到大量这样的东东。因为windows下,有的用到了c扩展。要么就是前面介绍的方法,自己编译。要么下载编译好c的whl文件。

参考URL:

https://blog.csdn.net/qing101hua/article/details/52504403

方法:在shell中输入import pip; print(pip.pep425tags.get_supported())可以获取到pip支持的文件名还有版本

比如,按如下载图的结果,numpy-1.10.4+mkl-cp27-cp27m-win32.whl 就需要更改成numpy-1.10.4+mkl-cp27-none-win32.whl。

《Python Pip安装:whl is not a supported wheel on this platform问题的解决》

点赞