Here are some issues I encountered while trying to set up a basic Twisted install.
ImportError: No module named ‘twisted.conch’
This issue occurred because I was trying to use Twisted with Python 3.4. As of right now this is not supported. Time to downgrade to 2.7…
ImportError: No module named Crypto
Apparently I don’t have the crypto module installed.
pip install pycrypto
ImportError: No module named pyasn1.error
pip install pyasn1
So with Python 2.7, pycrypto and pyasn1 installed, it appears I have everything I need.
>>> import Crypto >>> import twisted.conch.ssh.transport >>> twisted.conch.ssh.transport.md5 <built-in function openssl_md5>