[Tutor] [Cryptography-dev] Import Error.
alex.gaynor at gmail.com
Sun Jul 23 12:27:20 EDT 2017
Without any more information, it looks like you didn't install cryptography
into your virtualenv. How did you install twisted?
On Sun, Jul 23, 2017 at 12:24 PM, Deepen Patel <deepenpatel.lintel at gmail.com
> I got error like Import error.
> Traceback (most recent call last):
> File "startnode.py", line 8, in <module>
> from twisted.conch import manhole, manhole_ssh
> File "/usr/local/lib/python2.7/dist-packages/twisted/conch/manhole_ssh.py",
> line 14, in <module>
> from twisted.conch.ssh import factory, session
> File "/usr/local/lib/python2.7/dist-packages/twisted/conch/ssh/factory.py",
> line 18, in <module>
> from twisted.conch.ssh import (_kex, transport, userauth, connection)
> File "/usr/local/lib/python2.7/dist-packages/twisted/conch/ssh/transport.py",
> line 22, in <module>
> from cryptography.exceptions import UnsupportedAlgorithm
> ImportError: No module named cryptography.exceptions
> Currently, I am using virtual environments and in virtual environment this
> code not run properly.
> previously, I am running code without virtual environments. it works
> Await your reply.
> Deepen Patel.
> Cryptography-dev mailing list
> Cryptography-dev at python.org
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: D1B3 ADC0 E023 8CA6
More information about the Tutor