Search code examples
pythonwindowsparamiko

ImportError: No module named 'cryptography'


I installed python 3.4 on windows 7 and when 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 persist. Any help ?


Solution

  • It turned out that it was a proxy problem. It was blocking download. I did

    pip install cryptography
    pip install paramiko
    

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