[Cryptography-dev] Import Error.

Alex Gaynor alex.gaynor at gmail.com
Sun Jul 23 12:27:20 EDT 2017


Hi Deepen,

Without any more information, it looks like you didn't install cryptography
into your virtualenv. How did you install twisted?

Alex

On Sun, Jul 23, 2017 at 12:24 PM, Deepen Patel <deepenpatel.lintel at gmail.com
> wrote:

> Hi,
>
> 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
> proper.
>
> Await your reply.
>
> Regards,
> Deepen Patel.
>
> _______________________________________________
> Cryptography-dev mailing list
> Cryptography-dev at python.org
> https://mail.python.org/mailman/listinfo/cryptography-dev
>
>


-- 
"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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cryptography-dev/attachments/20170723/42d05f60/attachment.html>


More information about the Cryptography-dev mailing list