参考链接:http://blog.csdn.net/linshiyx/article/details/51699163
环境: win10 x64
python 2.7.10
安装python第三库 gevent: gevent-1.1.2.tar.gz, greenlet-0.4.11.tar.gz
遇到报错: error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat). Get it from
解决: 从该链接: 下载:VCForPython27.msi 安装
再到cmd环境:pip install gevent 部分输出如下:
D:\songjh-dir\doc\python>pip install gevent
You are using pip version 7.0.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting gevent
Using cached gevent-1.1.2.tar.gz
Collecting greenlet>=0.4.9 (from gevent)
Using cached greenlet-0.4.11.tar.gz
Building wheels for collected packages: gevent, greenlet
Running setup.py bdist_wheel for gevent
Stored in directory: C:\Users\Administrator\AppData\Local\pip\Cache\wheels\cb\00\2f\f0b54b3d26e6372f303508ccc536e9289f3e425daf37d76c2f
Running setup.py bdist_wheel for greenlet
Stored in directory: C:\Users\Administrator\AppData\Local\pip\Cache\wheels\a4\eb\c2\1fadb0b9e5a6a30cc3759018af7a7b2939eeb93fc3f7685208
Successfully built gevent greenlet
Installing collected packages: greenlet, gevent
Successfully installed gevent-1.1.2 greenlet-0.4.11
阅读(2788) | 评论(0) | 转发(0) |