win10 使用cmd安装.whl 包:
这里以 tensorflow 为例:
tensorflow-1.1.0rc1-cp35-cp35m-win_amd64.whl 链接:https://pan.baidu.com/s/1yPoOE7MJf2c2KYukHTvHsw
密码:hyi8
1.首先找到Python Scripts文件夹 复制路径 将.whl放入里面
2.管理员身份运行cmd:
3.进入python script目录cmd输入: cd C:\Users\Public\Documents\Python Scripts
4.pip install xxx.whl
pip install tensorflow-1.1.0rc1-cp35-cp35m-win_amd64.whl
5.完成
6..注意不要随意修改文件名 且文件名格式务必符合要求:
若输入不合格,提示 xxx is not a supported wheel on this platform.:
输入可在cmd中输入以下命令:
>>>python
>>>import pip
>>>print(pip.pep425tags.get_supported())
按照提示修改文件名