- 安装wheel pip install wheel
- 以安装scipy为例,在官网下载安装包https://pypi.python.org/pypi/scipy
- 一定要注意这里的版本一定要和你的python所支持的版本一直否则会出现
C:\Users\xiaoqiu>pip install F:\browser\Google\scipy-1.0.0-cp36-cp36m-manylinux1_x86_64.whl
scipy-1.0.0-cp36-cp36m-manylinux1_x86_64.whl is not a supported wheel on this platform.
Python 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pip
>>> print(pip.pep425tags.get_supported())
[(\'cp36\', \'cp36m\', \'win_amd64\'), (\'cp36\', \'none\', \'win_amd64\'), (\'py3\', \'none\', \'win_amd64\'), (\'cp36\', \'none\', \'any\'), (\'cp3\', \'none\', \'any\'), (\'py36\', \'none\', \'any\'), (\'py3\', \'none\', \'any\'), (\'py35\', \'none\', \'any\'), (\'py34\', \'none\', \'any\'), (\'py33\', \'none\', \'any\'), (\'py32\', \'none\', \'any\'), (\'py31\', \'none\', \'any\'), (\'py30\', \'none\', \'any\')]
>>> exit()
C:\Users\xiaoqiu>pip install F:\browser\Google\scipy-1.0.0-cp36-none-win_amd64.whl