Twisted on Python3: Install fails with a series of “File Not Found” errors
我正遇到这里描述的问题:
https://twistedmatrix.com/trac/ticket/6539评论:12
然而,罚单关闭了,每个人似乎都认为Twisted的一个很大的子集现在运行在python 3上。
当我使用python 3安装twisted时,会发出票据上列出的错误,然后我会遇到以下情况:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | In [1]: import twisted In [2]: dir(twisted) Out[2]: ['Version', '__builtins__', '__cached__', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__file__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__le__', '__loader__', '__lt__', '__name__', '__ne__', '__new__', '__package__', '__path__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__spec__', '__str__', '__subclasshook__', '__version__', '_checkRequirements', '_version', 'deprecatedModuleAttribute', 'python', 'version'] In [3]: from twisted import scripts --------------------------------------------------------------------------- ImportError Traceback (most recent call last) in () ----> 1 from twisted import scripts ImportError: cannot import name 'scripts' |
我做错什么了?