Fix ImportError for SSH client

Added instruction to also install pyasn1.
This commit is contained in:
Edwin Sutanto 2017-10-08 10:02:29 +07:00
parent 48a1ae1371
commit 9620ddb2e0

View file

@ -20,9 +20,9 @@ from twisted.conch.interfaces import IConchUser
_SSH_IMPORT_ERROR = """
ERROR: Missing crypto library for SSH. Install it with
pip install cryptography
pip install cryptography pyasn1
(On older Twisted versions you may have to do 'pip install pycrypto pyasn1 instead).
(On older Twisted versions you may have to do 'pip install pycrypto pyasn1' instead).
If you get a compilation error you must install a C compiler and the
SSL dev headers (On Debian-derived systems this is the gcc and libssl-dev