【发布时间】:2014-02-18 07:50:23
【问题描述】:
我已经使用
安装了 twisted 和 Autobahn websocketpip install twisted
pip install autobahn
但是当我从 Autobahn 导入任何工厂时,我会收到 cannot import name 错误。
>>> from twisted.internet import reactor
>>> from autobahn.websocket import WebSocketClientFactory
Traceback (most recent call last):
File "<console>", line 1, in <module>
ImportError: cannot import name WebSocketClientFactory
我有什么遗漏吗? 这是点冻结
Twisted==13.2.0
Twisted-Core==12.3.0
Twisted-Names==12.3.0
Twisted-Web==12.3.0
autobahn==0.7.4
websocket==0.2.1
websocket-client==0.13.0
【问题讨论】: