使用pip安装python插件的时候出现Microsoft Visual C++ 9.0缺失错误
使用pip安装python插件的时候出现Microsoft Visual C++ 9.0缺失错误
使用pip安装python插件的时候出现Microsoft Visual C++ 9.0缺失错误
:
Running setup.py install for gevent
building 'gevent.corecext' extension
error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat). Get it from http://aka.ms/vcpython27
Complete output from command C:\Python27\python.exe -c "import
setuptools,
tokenize;__file__='c:\\users\\hello\\appdata\\local\\temp\\pip_build_hello\\gevent\\setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record
c:\users\hello\appdata\local\temp\pip-okbpxc-record\install-record.txt
--single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-2.7
creating build\lib.win-amd64-2.7\gevent
copying gevent\backdoor.py -> build\lib.win-amd64-2.7\gevent
copying gevent\baseserver.py -> build\lib.win-amd64-2.7\gevent
copying gevent\builtins.py -> build\lib.win-amd64-2.7\gevent
copying gevent\core.py -> build\lib.win-amd64-2.7\gevent
copying gevent\corecffi.py -> build\lib.win-amd64-2.7\gevent
copying gevent\coros.py -> build\lib.win-amd64-2.7\gevent
copying gevent\event.py -> build\lib.win-amd64-2.7\gevent
copying gevent\fileobject.py -> build\lib.win-amd64-2.7\gevent
copying gevent\greenlet.py -> build\lib.win-amd64-2.7\gevent
copying gevent\hub.py -> build\lib.win-amd64-2.7\gevent
copying gevent\local.py -> build\lib.win-amd64-2.7\gevent
copying gevent\lock.py -> build\lib.win-amd64-2.7\gevent
copying gevent\monkey.py -> build\lib.win-amd64-2.7\gevent
copying gevent\os.py -> build\lib.win-amd64-2.7\gevent
copying gevent\pool.py -> build\lib.win-amd64-2.7\gevent
copying gevent\pywsgi.py -> build\lib.win-amd64-2.7\gevent
copying gevent\queue.py -> build\lib.win-amd64-2.7\gevent
copying gevent\resolver_ares.py -> build\lib.win-amd64-2.7\gevent
copying gevent\resolver_thread.py -> build\lib.win-amd64-2.7\gevent
copying gevent\select.py -> build\lib.win-amd64-2.7\gevent
copying gevent\server.py -> build\lib.win-amd64-2.7\gevent
copying gevent\signal.py -> build\lib.win-amd64-2.7\gevent
copying gevent\socket.py -> build\lib.win-amd64-2.7\gevent
copying gevent\ssl.py -> build\lib.win-amd64-2.7\gevent
copying gevent\subprocess.py -> build\lib.win-amd64-2.7\gevent
copying gevent\thread.py -> build\lib.win-amd64-2.7\gevent
copying gevent\threading.py -> build\lib.win-amd64-2.7\gevent
copying gevent\threadpool.py -> build\lib.win-amd64-2.7\gevent
copying gevent\timeout.py -> build\lib.win-amd64-2.7\gevent
copying gevent\util.py -> build\lib.win-amd64-2.7\gevent
copying gevent\win32util.py -> build\lib.win-amd64-2.7\gevent
copying gevent\wsgi.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_corecffi_build.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_fileobjectcommon.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_fileobjectposix.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_semaphore.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_socket2.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_socket3.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_socketcommon.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_ssl2.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_ssl3.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_sslgte279.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_tblib.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_threading.py -> build\lib.win-amd64-2.7\gevent
copying gevent\_util_py2.py -> build\lib.win-amd64-2.7\gevent
copying gevent\__init__.py -> build\lib.win-amd64-2.7\gevent
running build_ext
building 'gevent.corecext' extension
error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat). Get it from http://aka.ms/vcpython27
----------------------------------------
Cleaning up...【以下为红色】
Command
C:\Python27\python.exe -c "import setuptools,
tokenize;__file__='c:\\users\\hello\\appdata\\local\\temp\\pip_build_hello\\gevent\\setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record
c:\users\hello\appdata\local\temp\pip-okbpxc-record\install-record.txt
--single-version-externally-managed --compile failed with error code 1
in c:\users\hello\appdata\local\temp\pip_build_hello\gevent
Storing debug log for failure in C:\Users\hello\pip\pip.log
尝试解决方案
到http://aka.ms/vcpython27下载vc4python27 安装后重试
结果:解决了部分问题,然后又提示zlib缺少,可以看pip.log
使用pip安装python插件的时候出现Microsoft Visual C++ 9.0缺失错误的更多相关文章
- 在安装python的mysqlclient包时报microsoft visual c++ 14.0 is required的错误
在安装python的mysqlclient包时报microsoft visual c++ 14.0 is required的错误 pip install mysqlclient 提示报错 解决办法 ...
- 安装python包时遇到"error: Microsoft Visual C++ 9.0 is required"的简答
简答 在Windows下用pip安装Scrapy报如下错误, error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall ...
- 【Python】安装python包时遇到"error: Microsoft Visual C++ 9.0 is required"的简答
简答 在Windows下用pip安装Scrapy报如下错误, error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall ...
- 安装python包时遇到"error: Microsoft Visual C++ 9.0 is required"的简答(Python2.7)
简答 在Windows下用pip安装Scrapy报如下错误, error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall ...
- Fix Python 3 on Windows error Microsoft Visual C++ 14.0 is required
Fix Python 3 on Windows error Microsoft Visual C++ 14.0 is required Fix the error for Python 3.6 and ...
- 安装插件报错error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++
起因:学到多线程greenlet模块时,greenlet模块死活装不上,以为pycharm坏掉了,浪费了一下午. #pip3 install greenlet from greenlet import ...
- python安装pymssql等包时出现microsoft visual c++ 14.0 is required问题无需下载visualcppbuildtools的解决办法
如题,在练习python安装一些包时,出现了microsoft visual c++ 14.0 is required问题.网上有很多资料:一是下载对应的.whl文件,然后pip install安装: ...
- python3.7安装模块MySQLdb报错error: Microsoft Visual C++ 14.0 is required.
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools&quo ...
- pip install mysqlclient 报错:error: Microsoft Visual C++ 14.0 is required.
解决办法: 1. 在网址:https://www.lfd.uci.edu/~gohlke/pythonlibs/ 下载对应的whl文件,如我的环境是python3.7.2 windows32位版本 ...
随机推荐
- iOS开发数据库篇—SQLite常用的函数
iOS开发数据库篇—SQLite常用的函数 一.简单说明 1.打开数据库 int sqlite3_open( const char *filename, // 数据库的文件路径 sqlite3 * ...
- VB.NET vs. C#
VB.NET Program Structure C# Imports System Namespace Hello Class HelloWorld Overloads Shar ...
- iOS 如何适配iOS10
转自: http://www.cnblogs.com/jukaiit/p/5881062.html 2016年9月7日,苹果发布iOS 10.2016年9月14日,全新的操作系统iOS 10将正式上线 ...
- pycharm的一些设置和快捷键
最近在搞python的开发,用上了pycharm,所以记录一些pycharm的设置 1. pycharm默认是自动保存的,但我个人不太习惯,习惯自己按ctrl + s 所以进行如下设置: 1. Se ...
- Linux下文件删除的原理
Linux文件删除的原理: Linux是通过link的数量来控制文件的删除的,只有当一个文件不存在任何link的时候,这个文件才会被删除,一般来说每个文件都有2个link计数器:i_count和i_n ...
- Mac下安装Wireshark,双击闪退
Mac OS X上使用Wireshark抓包(http://blog.csdn.net/phunxm/article/details/38590561) Mac下安装Wireshark /Appli ...
- jquery validate 在ajax提交表单下的验证方法
$(function() { var method='${method }'; if(method == 'edit'){ url="${ctx}/commodity/typeReN ...
- html中button自动提交表单?
在ie中,button默认的type是button,而其他浏览器和W3C标准中button默认的属性都是submit
- PostMan 发送list<Object>
- SSM框架学习之高并发秒杀业务--笔记4-- web层
在前面几节中已经完成了service层和dao层,到目前为止只是后端的设计与编写,这节就要设计到前端的设计了.下面开始总结下这个秒杀业务前端有哪些要点: 1. 前端页面的流程 首先是列表页,点某个商品 ...