使用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位版本 ...
随机推荐
- Export Data from mysql Workbench 6.0
原文地址:export-data-from-mysql-workbench-6-0 问题描述 I'm trying to export my database, using MySQL Workben ...
- ubuntu15.04 安装 pylab失败,先记下来,漫漫看
pydo@planpls:/var/python/web2py$ pip install pylab Downloading/unpacking pylab Downloading pylab-0.1 ...
- openstack Icehouse发布
OpenStack 2014.1 (Icehouse) Release Notes General Upgrade Notes Windows packagers should use pbr 0.8 ...
- reg.test is not a function 报错
正则中 比如 var reg = "/^[0-9]$/" 会报 reg.test is not a function 如果 var reg = /^[0-9]$/ 就不会有错 因为 ...
- JfreeChart的使用
前提:导入需要的2个jar文件,jcommon-版本号.jar,jfreechart-版本号.jar.可以去官网下载:http://sourceforge.net/projects/jfreechar ...
- JQuery 对 Select option 的操作
下拉框: <select id="selectID" > <option value="1">1</option& ...
- 读javascript高级程序设计15-Ajax,CORS,JSONP,Img Ping
平时用惯了jQuery.ajax之类的方法,却时常忽略了它背后的实现,本文是学习了AJAX基础及几种跨域解决方案之后的一些收获. 一.AJAX——XMLHttpRequest 谈起Ajax我们都很熟悉 ...
- 回车键转tab键解决方案二
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding= ...
- 使用 Java Service Wrapper 启动java后台进程服务
Java Service Wrapper (http://wrapper.tanukisoftware.com/doc/english/product-overview.html)可以很方便得在各个平 ...
- Git切换分支出现提示'SSL端口:44301'及解决方案
切换分支出现如下提示,并且自动签出了项目文件csproj. 修改项目文件csproj 修改前: <UseIISExpress>true</UseIISExpress> < ...