ImportError: No module named Crypto

血红的双手。 提交于 2019-12-06 17:13:54

问题


I am just starting to explore Python. I am trying to run an AES algorithm code and I am facing the:

ImportError: No module named Crypto.

How do you solve this?


回答1:


You have to install crypto package. https://pypi.python.org/pypi/pycrypto




回答2:


Solution:

By installing pycrypto module from your virtualenv

pip install pycrypto



回答3:


Solved when i installed pycrypto rather then crypto pip2 install pycrypto



来源:https://stackoverflow.com/questions/30738083/importerror-no-module-named-crypto

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!