使用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位版本 ...
随机推荐
- Flex 文本控件实现自定义复制粘贴
由于添加了自定义右键菜单,导致Textinput控件默认的右键复制粘贴功能被屏蔽了.最后通过JS脚本实现这个功能,参考代码如下 <?xml version="1.0" enc ...
- 转 一个典型的 C++ 程序员成长经历:
1. 完整的学一遍 C++ 所有语言特性,典型书籍 "The C++ Programming Language" Part1, Part2, "C++ Primer&q ...
- Ubuntu14.04安装redis和简单配置
1.前言 Redis是常用基于内存的Key-Value数据库,比Memcache更先进,支持多种数据结构,高效,快速.用Redis可以很轻松解决高并发的数据访问问题:做为时时监控信号处理也非常不错. ...
- 使用CSS3 BACKFACE-VISIBILITY属性制作翻转动画效果
摘要: 通过backface-visibility:hidden;属性,我们可以使一个元素在翻转之后消失,这是可以使用另一个元素放在它的背面,从而制作出一种元素翻转之后出现另一个元素的效果. ... ...
- TestLink
TestLink的主要功能包括: 测试需求管理 测试用例管理 测试用例对测试需求的覆盖管理 测试计划的制定 测试用例的执行 大量测试数据的度量和统计功能 TestLink的主要特色包括: 支持多产品或 ...
- windows docker测试二 下载container
安装dockertoolbox,提供了一个docker的界面工具 Kitematic 和字符终端: Docker Quickstart Terminal (这里安装的Kitematic 是Alpha版 ...
- call(),apply(),bind()与回调
1.call(),apply(),bind()方法 JavaScript 中通过call或者apply用来代替另一个对象调用一个方法,将一个函数的对象上下文从初始的上下文改变为由 thisObj 指定 ...
- 读javascript高级程序设计07-引用类型、Object、Array
一.引用类型 ECMAScript是支持面向对象的,可以通过引用类型描述一类对象所具有的属性和方法. 创建对象实例的方法时是用new 操作符加构造函数:var p=new Person(). 二.Ob ...
- Android开发--LinearLayout的应用
1.简介 LinearLayout为安卓三大常用布局中的线性布局.其中,线性布局又分为水平线性布局和垂直线性布局.视图如下所示:
- centos7.0 64位系统 安装PHP 支持 nginx
1 安装PHP所需要的扩展 yum -y install libxml2 libxml2-devel openssl openssl-devel bzip2 bzip2-devel curl cur ...