'Error when trying to import the Crypto package
When I issue these import commands:
import sys
import cv2
import numpy as np
from Crypto.Cipher import AES
from Crypto.Util.Padding import pad, unpad
from Crypto.Random import get_random_bytes
I see this error message:
File "C:/Users/user/Desktop/image-encryption-main/PyImgEnc.py", line 4, in <module>
from Crypto.Cipher import AES
ModuleNotFoundError: No module named 'Crypto'
These are the libraries I installed:
pip install wheel
pip install scipy
pip install pbkdf2
pip install pyaes
pip install pycryptodome
How can I solve this problem?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
