使用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缺失错误的更多相关文章

  1. 在安装python的mysqlclient包时报microsoft visual c++ 14.0 is required的错误

    在安装python的mysqlclient包时报microsoft visual c++ 14.0 is required的错误 pip install mysqlclient 提示报错   解决办法 ...

  2. 安装python包时遇到"error: Microsoft Visual C++ 9.0 is required"的简答

    简答 在Windows下用pip安装Scrapy报如下错误, error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall ...

  3. 【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 ...

  4. 安装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 ...

  5. 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 ...

  6. 安装插件报错error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++

    起因:学到多线程greenlet模块时,greenlet模块死活装不上,以为pycharm坏掉了,浪费了一下午. #pip3 install greenlet from greenlet import ...

  7. python安装pymssql等包时出现microsoft visual c++ 14.0 is required问题无需下载visualcppbuildtools的解决办法

    如题,在练习python安装一些包时,出现了microsoft visual c++ 14.0 is required问题.网上有很多资料:一是下载对应的.whl文件,然后pip install安装: ...

  8. 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 ...

  9. pip install mysqlclient 报错:error: Microsoft Visual C++ 14.0 is required.

    解决办法: 1. 在网址:https://www.lfd.uci.edu/~gohlke/pythonlibs/  下载对应的whl文件,如我的环境是python3.7.2  windows32位版本 ...

随机推荐

  1. Linux基础※※※※如何使用Git in Linux(二)

    参考资料: 1. http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000 2. Git-简 ...

  2. HQL基础Query简单查询结果for输出和Iterator输出

    HQL第一次课: hibernate Query Language:hibernate 查询语言 语法: query: String hql="from dept"; Query ...

  3. Html5 Canvas核心技术(图形,动画,游戏开发)--基础知识

    基础知识 canvas 元素可以说是HTML5元素中最强大的一个,他真正的能力是通过canvas的context对象表现出来的.该环境对象可以从canvas元素身上获得. <body> & ...

  4. redis 在32位系统安装以及使用

    1.下载32位redis文件. http://pan.baidu.com/s/1eRIZPAE 我下载后的路径是:E:\Redis\Redis 里面的文件如图:  2.调取命令窗口 win+R,输入命 ...

  5. Android之alertDialog、ProgressDialog

    一.alertDialog 置顶于所有控件之上的,可以屏蔽其他控件的交互能力.通过AlertDialog.Builder创建一个AlertDialog,并通过setTittle(),setMesseg ...

  6. 20145224&20145238《信息安全系统设计基础》实验五

    20145224陈颢文20145238荆玉茗 <信息安全系统设计基础>第五次实验报告 课程:信息安全系统设计基础 班级: 1452 姓名:荆玉茗 陈颢文 学号:20145238 20145 ...

  7. 电源相关知识—S0、S1(POS)、S2、S3(STR)、 S4、S5、睡眠、休眠、待机

    转 http://blog.sina.com.cn/s/blog_52f28dde0100l3ci.html APM https://en.wikipedia.org/wiki/Advanced_Po ...

  8. 初学DOM树解析xml文件

    做了一次设计模式实验的题目: 某软件公司为新开发的智能手机控制与管理软件提供了一键备份功能,通过该功能可以将原本存储在手机中的通信录.短信.照片.歌曲等资料一次性全部拷贝到移动存储介质(例如MMC卡或 ...

  9. linux 2.6.21版本的内核合法的MAC地址

    当执行ifconfig eth0 hw ether 11:22:33:44:55:66时,当前内核显示修改成功,但是ping时只无限发送ARP包,PC机也已经给板子回ARP包,但没有任何ICMP包的信 ...

  10. 【opencv学习笔记】SetImageROI函数设置ROI区域的作用及用法

    虽然先前知道ROI区域是感兴趣区域,但是真正看到调用了OpenCV的cvSetImageROI函数时,并不知道它的作用,所以还是单独写了一段代码对这个函数进行探究.   OpenCVchm文档中对cv ...