Python ImportError No module named Crypto Cipher

0 votes

I am getting error while importing 

from Crypto.Cipher import AES 

Please help to resolve this.

Traceback (most recent call last):
File "test.py", line 2, in 
from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher
Jul 31, 2019 in Python by Vinod
20,443 views

1 answer to this question.

0 votes

Seems like the pycrypto package is not installed in your python. You can install it using 

pip install pycrypto


Hope this helps!!

If you need to know more about Python, join Python online course today.

Thanks!

answered Jul 31, 2019 by Hari

Related Questions In Python

+3 votes
1 answer

Tensorflow 1.5 ImportError: No module named tensorflow.python.client

I think it's a bug in Tensorflow ...READ MORE

answered Sep 25, 2018 in Python by charlie_brown
• 7,780 points
5,975 views
0 votes
1 answer

tensorflow 1.5 ImportError: No module named tensorflow.python.client

Some of the modules have changed in ...READ MORE

answered Oct 5, 2018 in Python by Priyaj
• 58,140 points
1,622 views
0 votes
1 answer

tensorflow 1.5 ImportError: No module named tensorflow.python.client

Some of the modules have changed in ...READ MORE

answered Oct 9, 2018 in Python by Priyaj
• 58,140 points
414 views
0 votes
1 answer

Python error "ImportError: No module named pygame.locals"

You need to download and install the ...READ MORE

answered Jun 18, 2019 in Python by Greg
4,341 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 2,486 views
0 votes
1 answer
+5 votes
6 answers

Lowercase in Python

You can simply the built-in function in ...READ MORE

answered Apr 11, 2018 in Python by hemant
• 5,810 points
1,863 views
0 votes
1 answer
0 votes
2 answers

Python error "ImportError: No module named 'tkinter'"

sudo apt-get install python3-tk Then, >> import tkinter # ...READ MORE

answered Nov 9, 2019 in Python by Icetutor
• 160 points
19,938 views