2
我永远不知道如何阅读这些。如果有人能够帮助我理解这一点,那么这将会有所帮助,并且可能就如何阅读这些内容提供建议?有人可以帮我理解这个错误:
D:\>python captain2.py
Traceback (most recent call last):
File "captain2.py", line 2, in <module>
from twisted.internet import reactor
File "c:\Python27\lib\site-packages\twisted\internet\reactor.py", line 37, in
<module>
from twisted.internet import default
File "c:\Python27\lib\site-packages\twisted\internet\default.py", line 50, in
<module>
install = _getInstallFunction(platform)
File "c:\Python27\lib\site-packages\twisted\internet\default.py", line 46, in
_getInstallFunction
from twisted.internet.selectreactor import install
File "c:\Python27\lib\site-packages\twisted\internet\selectreactor.py", line 1
4, in <module>
from zope.interface import implements
ImportError: No module named zope.interface
如果您有pip或easy_install,请尝试运行'sudo pip install zope'或'sudo easy_install zope'并确认您拥有该软件包。 – Stefan 2012-01-05 03:50:26