In my personal development process, I need to use the encryption method, but in the process of quoting from crypto.cipher import AES, it has been reported that the crypto module does not exist. Baidu finally found a solution after a few days
I use Python 3.9
1、 First perform the following 2 steps
1.pip install crypto
2.pip install pycryptohome
2、 After the installation is completed, you can use it directly or prompt that it cannot be found:
1. Change crypto to uppercase
So far, the problem has been solved
Read More:
- The way to solve the grey problem of unity scene
- How to solve the problem of error reporting in Flink
- Linux has no way to solve bash. / that file or directory
- numpy.core.umath How to solve the problem of failed to import
- Python_ Part 2 programming problems (3)_ solve numpy.core.multiarray Failed to import problem
- How to solve the problem of error reporting in the introduction of Python Django no module name ‘Django. Utils. Six’
- Solve the problem of reporting errors when tsfresh downloads UCI har dataset
- Solve the problem of raspberry pie using GStreamer. Importerror: cannot import name XXX introspection typelib not found
- solve log.info The problem of reporting error and red line
- Solve the problem of pychar import error
- Solve the problem of dynamically applying for permission, but still reporting an error of open failed: eacces (permission denied)
- Solve the problem of import Cafe: runtimewarning: numpy.dtype Size changed, may indicate binary instability
- The simplest way to completely unload cygwin under Windows
- The simplest way to configure OpenGL development environment with vs2015
- On the problem of from PIL import image
- import org.junit.Test And @ test error reporting — solutions
- Threejs is used in Vue to introduce error reporting problem of orbitcontrols
- How to solve the import failure by prompting beautifulsoup under pychar
- Error 1364 (HY000): field ‘SSL_ cipher’ doesn’t have a default value
- Crypto JS decrypts malformed UTF-8 data