python - Twisted on Python3: Install fails with a series of "File Not Found" errors -


i having problem described here:

https://twistedmatrix.com/trac/ticket/6539#comment:12

however, ticket closed, , seems think huge subset of twisted runs on python 3.

when install twisted python 3, errors listed on ticket emitted, , experience following:

 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]: twisted import scripts --------------------------------------------------------------------------- importerror                               traceback (most recent call last)  in () ----> 1 twisted import scripts  importerror: cannot import name 'scripts' 

what doing wrong?

the twisted.scripts module isn't ported yet. can see full list of things have been ported here. twisted.scripts.twistd "almostmodule", means it's pretty close; place try start porting.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -