ModuleNotFoundError: No module named 'Crypto'

0 votes

Hi. I am trying to run this line in python.

from Crypto.Cipher import AES

But I am getting this error

ModuleNotFoundError: No module named 'Crypto'

I tried installing the module using

pip install crypto

It was successful but when I ran the code, I still get the same error

Aug 20 in Python by Rishi

1 answer to this question.

0 votes

The module you’ve installed is different.

To install the module that you are tying to use, run the following code:

pip install pycryptodome
answered Aug 20 by Raman

Related Questions In Python

0 votes
2 answers
0 votes
1 answer

Python: ImportError: No module named Crypto.Cipher

Seems like the pycrypto package is not ...READ MORE

answered Jul 31 in Python by Hari
0 votes
1 answer

ImportError: No module named requests

Requests is not available for use by ...READ MORE

answered Jun 26, 2018 in Python by Hamartia's Mask
• 1,580 points
+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,720 points
+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 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 236 views
+4 votes
6 answers
0 votes
1 answer

No module named urllib3

It is possible that either urllib3 is ...READ MORE

answered Jan 24 in Python by SDeb
• 13,160 points
0 votes
1 answer

No module named __future__

In your /PATH/Python-2.7.x/Lib should be all your ...READ MORE

answered Mar 7 in Python by SDeb
• 13,160 points