加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

我正在寻找适用于Windows的Python 2.7的gevent

发布时间:2020-12-14 04:20:52 所属栏目:Windows 来源:网络整理
导读:然而,gevent依赖于greenlet和我发现无法安装的.msi版本,并且2.6的egg拒绝安装. msi版本失败如下. C:Windowssystem32easy_install greenletinstall_dir C:Python27Libsite-packagesSearching for greenletReading http://pypi.python.org/simple/greenl
然而,gevent依赖于greenlet和我发现无法安装的.msi版本,并且2.6的egg拒绝安装.

msi版本失败如下.

C:Windowssystem32>easy_install greenlet
install_dir C:Python27Libsite-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.1setup.py -q bdist_egg --dist-dir c:usersianappdatalocaltempeasy_install-1epg28greenlet-0.3.1egg-dist-tmp-mqhu3n
C:Python27libdistutilsdist.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.0VCBINcl.exe"' failed with exit status 2

C:Windowssystem32>

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

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

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

这对我有用:

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

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读