使用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位版本 ...
随机推荐
- Android Fragment是什么
Fragment是Activity中用户界面的一个行为或者一个部分.你可以在一个单独的Activity上把多个Fragment组合成一个多区域的UI,并且可以在多个Activity中使用.你可以认为F ...
- 最精简的django程序
一.程序框架 1.结构图
- Retrofit 2.0使用(2)如何使用@Body的形式发送Post
在使用Retrofit的时候如果只是有几个参数我们可以用@Querry的形式,然后需要使用','隔开 但是在需要@Querry的参数多了之后,如果再用上面的方式就会造成参数写了一大堆的麻烦事 所以Re ...
- PHP 二维码解码 (读取二维码)
#zbar wget http://ncu.dl.sourceforge.net/project/zbar/zbar/0.10/zbar-0.10.tar.bz2 yum install gtk2 g ...
- mallo函数
malloc的全称是memory allocation,中文叫动态内存分配,当无法知道内存具体位置的时候,想要绑定真正的内存空间,就需要用到动态的分配内存.原型为extern void *malloc ...
- sqlite数据类型
sqlite数据类型(时间 日期 double等) sqlite3支持的数据类型: NULL.INTEGER.REAL.TEXT.BLOB但是,sqlite3也支持如下的数据类型smallin ...
- A:石头剪刀布
总时间限制: 1000ms 内存限制: 65536kB描述石头剪刀布是常见的猜拳游戏.石头胜剪刀,剪刀胜布,布胜石头.如果两个人出拳一样,则不分胜负.一天,小A和小B正好在玩石头剪刀布.已知他们的出拳 ...
- WCF初探-23:WCF中使用Message类(下)
前言 在上一篇WCF中使用Message类(上)中,文章介绍了WCF中使用Message类的基本知识和怎样创建消息,本文是承接上一篇文章,如果想要更好的阅读本文,请先阅读上一篇文章.在这篇文章中,我将 ...
- iOS开发UI篇—Quartz2D使用(图片剪切)
iOS开发UI篇—Quartz2D使用(图片剪切) 一.使用Quartz2D完成图片剪切 1.把图片显示在自定义的view中 先把图片绘制到view上.按照原始大小,把图片绘制到一个点上. 代码: - ...
- Ruby学习笔记
#!/usr/bin/ruby puts "Hello, Ruby, what is your name?" $name = STDIN.gets puts "Hi, I ...