python3.6安装插件报错error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++
报错如下:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
Command "e:\soft\python3.6_x64\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\RJ-TR19\\AppData\\Local\\Temp\\pip-build-q2fmqstd\\pycrypto\\setup.py';f=getattr(tokenize, 'open',
open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\RJ-TR19\AppData\Local\Temp\pip-dchg89ka-record\install-record.txt --
single-version-externally-managed --compile" failed with error code 1 in C:\Users\RJ-TR19\AppData\Local\Temp\pip-build-q2fmqstd\pycrypto\
最后的pycrypto说明缺少该包,需要安装
方式一、根据情况选择,该方式不是很建议,否则撞不上的每次都要下载一个文件安装
1、下载pycrypto-2.6.1-cp36-cp36m-win_amd64.whl文件(该文件目前备份于自己系统中)
将文件拷贝到本地python安装包E:\SOFT\Python3.6_x64\Scripts目录下,然后在Scripts目录下打开cmd窗口,运行
pip install pycryptosat‑0.2.0‑cp36‑cp36m‑win_amd64.whl
2、其他的插件访问https://www.lfd.uci.edu/~gohlke/pythonlibs/里面搜索查找版本,安装方式相同
方式二、下载Microsoft Visual C++ 14.0
选择默认方式安装即可,电脑也不用重启,直接pip安装所需要的插件就行
地址:https://pan.baidu.com/s/18bjsvBIgBAhn5_6ApMcFew 密码: zkzf
推荐阅读
-
解决安装mysqlclient的时候出现Microsoft Visual C++ 14.0 is required报错
-
解决安装mysqlclient的时候出现Microsoft Visual C++ 14.0 is required报错
-
scrapy安装失败:error:Microsoft Visual C++ 14.0 is reuired.及同类型安装问题解决办法
-
windows下scrapy安装问题,以及Twisted安装报错(error: Microsoft Visual C++ 14.0 is required.)完美解决办法
-
pip install mysqlclient 报错:error: Microsoft Visual C++ 14.0 is required.
-
安装mysqlclient的时候出现Microsoft Visual C++ 14.0 is required报错
-
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http:/
-
【Error】解决Python安装库时报错:Microsoft Visual C++ 14.0 is required问题
-
python3.6安装插件报错error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++
-
2018-07-09Python 3.6 模块安装“error: Microsoft Visual C++ 14.0 is required...”问题解决