Twisted requires zope.interface

来源:互联网 发布:宇宙大小的相关数据 编辑:程序博客网 时间:2024/04/24 20:22

如果是在linux下安装:

下午给一台服务器装twisted,报了这么一个错误:

Twisted requires zope.interface 3.6.0 or later: no module named zope.interface

后来查了一下,原来是没有安装setuptools的原因。安装setuptools,再安装twisted,会联网自动安装zope。当然也可以手动安装zope.interface ,如下面windows的办法。


如果是在windows下安装报错:

ImportError: Twisted requires zope.interface 3.6.0 or later: no module named zope.interface.

去pypi下载你所需要的 zope.interface 版本,安装即可。



原创粉丝点击