解决python种输入from Crypto.Cipher import AES 报错问题

报错:

 ImportError: No module named Crypto.Cipher

The fix seems to be removing both crypto and pycrypto with pip:

sudo pip uninstall crypto
sudo pip uninstall pycrypto

and reinstalling pycrypto:

sudo pip install pycrypto

Now it works as expected when I do something like:

from Crypto.Cipher import AES

你可能感兴趣的:(解决python种输入from Crypto.Cipher import AES 报错问题)