[英]ImportError: No module named 'cryptography'
I installed python 3.4 on windows 7 and when trying to use paramiko I get this error : 我在Windows 7上安装了python 3.4,当我尝试使用paramiko时出现此错误:
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. 我安装了pycrypto-2.6.1.win,但问题仍然存在。 Any help ?
有帮助吗?
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 !
感谢大家 !
You need to install the cryptography module . 您需要安装加密模块 。
Normally, dependencies would've automatically got pulled in when you install paramiko using a package manager like pip. 通常,当您使用像pip这样的包管理器安装paramiko时,依赖关系会被自动拉入。 How did you install paramiko?
你是怎么安装paramiko的? Are you installing manually?
你手动安装吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.