使用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. (一)kafka修改topic分区的位置

    (一)kafka修改topic分区的位置 环境:kafka_2.10-0.8.2.1 + JDK1.7.0_80 1. 查看分区topic的分区分布 $ le-kafka-topics.sh --de ...

  2. KO Demo

    <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <m ...

  3. Scrum Meeting 6-20151208

    任务安排 姓名 今日任务 明日任务 困难 董元财 修复app特定情况下崩溃 服务器购买记录接口 无 胡亚坤 聊天界面优化 发布记录和购买记录 无 刘猛 请假(生病了) 完成Scrum Meeting ...

  4. easyui-panel 滚动条禁用

    div id="p" class="easyui-panel" title="title" style="padding:10px ...

  5. JQuery_高级选择器

    在很多特殊的元素上,比如父子关系的元素,兄弟关系的元素,特殊属性的元素等等. 在早期 CSS 的使用上,由于 IE6 等低版本浏览器不支持,所以这些高级选择器的使用也不具备普遍性,但随着 jQuery ...

  6. 0060 Linux SELinux 管理命令

    1. SELinux 的起源 SELinux 是一个面向政府和行业的产品,由 NSA.Network Associates.Tresys 以及其他组织设计和开发.尽管 NSA 将其作为一个补丁集引入, ...

  7. Linux 1

    1. 使用虚拟控制台  登录后按Alt+F2键这时又可以看到"login:"提示符, 这个就是第二个虚拟控制台. 一般新安装的Linux有四个虚拟控制台, 可以用Alt+F1~Al ...

  8. Yii2框架安装(windows)

    -->安装PHP环境Wamp集成环境,XAMMP等.-->安装Composerhttp://pan.baidu.com/s/1i3fejjvPS:安装过程中的有一个手动操作项选择php.e ...

  9. centos 装VBOX

    #cd /etc/yum.repos.d/wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repoyum inst ...

  10. WPF CAL 计算器

    界面最终结果: 下载地址:https://skydrive.live.com/redir?resid=25C3908AA2038BDB!148&authkey=!ADR71XdB04LipYE