ImportError: No module named "cryptography"

I installed python 3.4 on Windows 7 and trying to use paramiko I get this error:

import paramiko

File "C:\Python34\lib\site-packages\paramiko-2.0.2-py3.4.egg\paramiko\__init__.py", line 30, in module

File "C:\Python34\lib\site-packages\paramiko-2.0.2-py3.4.egg\paramiko\transport.py", line 32, in module

ImportError: No module named 'cryptography'

I installed pycrypto-2.6.1.win, but the problem persists. Any help?

+4
source share
3 answers

It turned out that this is a proxy problem. It was a blocking download. I did

pip install cryptography
pip install paramiko

from a direct internet connection and it worked. Thanks everyone!

+2
source

This is not the pycrypto package that you need to import paramiko, try the following:

pip install paramiko

+5
source

.

Normally, dependencies are automatically retracted when you install paramiko using a package manager such as pip. How did you install paramiko? Do you install manually?

+1
source

Source: https://habr.com/ru/post/1652684/


All Articles