wordpress   发布时间:2022-04-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了我正在寻找适用于Windows的Python 2.7的gevent大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

然而,gevent依赖于greenlet和我发现无法安装的.msi版本,并且2.6的egg拒绝安装. msi版本失败如下. C:\Windows\system32>easy_install greenlet install_dir C:\Python27\Lib\site-packages\ Searching for greenlet Reading http://pypi.python.org
@H_772_10@
@H_874_13@
然而,gevent依赖于greenlet和我发现无法安装的.msi版本,并且2.6的egg拒绝安装. @H_678_15@msi版本失败如下.

C:\Windows\system32>easy_install greenlet
install_dir C:\Python27\Lib\site-packages\
Searching for greenlet
Reading http://pypi.python.org/simple/greenlet/
Reading http://bitbucket.org/ambroff/greenlet
Reading http://undefined.org/python/#greenlet
Best match: greenlet 0.3.1
Downloading http://pypi.python.org/packages/source/g/greenlet/greenlet-0.3.1.tar.gz#md5=8d75d7f3f659e915e286e1b0fa0e1c4d
Processing greenlet-0.3.1.tar.gz
Running greenlet-0.3.1\setup.py -q bdist_egg --dist-dir c:\users\ian\apPDAta\local\temp\easy_install-1epg28\greenlet-0.3.1\egg-dist-tmp-mqhu3n
C:\Python27\lib\distutils\dist.py:267: UserWarning: UnkNown diStribution option: 'repository'
  warnings.warn(msg)
greenlet.c
greenlet.c : Fatal error C1074: 'IDB' is illegal extension for PDB file:
error: Setup script exited with error: command '"C:\Program Files (x86)\Microsoft Visual studio 10.0\VC\BIN\cl.exe"' Failed with exit status 2

C:\Windows\system32>

我想这意味着我有一个错误的VS版本.

还有什么我可以使用的吗?

我想得到PyQt4,因此如果无法访问数据库或需要很长时间才能回复,GUI将无法锁定.

这对我有用:

>从Unofficial Windows Binaries for Python Extension Packages抓住gevent安装程序
>从同一站点安装greenlet

如果您使用的是64位Windows 7计算机并且在安装时遇到问题,请使用read this too.

大佬总结

以上是大佬教程为你收集整理的我正在寻找适用于Windows的Python 2.7的gevent全部内容,希望文章能够帮你解决我正在寻找适用于Windows的Python 2.7的gevent所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。