当前位置:网站首页>from Crypto. Cipher import AES could not find the solution record with module error
from Crypto. Cipher import AES could not find the solution record with module error
2022-06-30 15:34:00 【But the teacher】
background
When studying the flying Book incident , Flying book gives a case , The first line is
from Crypto.Cipher import AES
The module cannot be found by running the error report Crypto.Cipher
solve
Try the following centralized scheme , The last one is feasible . If you are looking for a solution , Please skip to the end
pip install crypto
According to the principle of "what is missing is what is installed" , Module installed , But it can't carry out , It's embarrassing , There is no corresponding description in the development documents- Try to change the import to
from crypto.Cipher import AES
Change upper case to lower case , Similarly, an error is reported and the module cannot be found - Try to change the import to
from crypto.cipher import AES
Lower case again , Still reporting a mistake
- Try to change the import to
pip install pycrypto
Then it is said that there are some follow-up modulespycrypto, The same error is reported after installationpip install pycryptodome
The module cannot be found by running the same error messageTo uninstall first , Install again
pip uninstall crypto
pip uninstall pycrypto
pip install pycryptodome
Under this scheme , The original code is feasible
Notice that this is dome, No demo!
边栏推荐
- 1105 spiral matrix (25 points)
- Bye civil engineering, hello CS, can you change the certificate to the Blue Bridge Cup
- How to do a good job in high concurrency system design? I have summarized three points
- Technology sharing | anyrtc service single port design
- Mysql database - create user name & modify permission
- DR-TANet: Dynamic Receptive Temporal Attention Network for Street Scene Change Detection
- Average and maximum values of MATLAB matrix
- How to program and process such parts?
- At the beginning of the 2022 new year, I will send you hundreds of dry articles
- 1066 root of AVL tree (25 points)
猜你喜欢

Determine the number of digits of an integer in MATLAB (one line of code)

Review 2021, embrace change and live up to Shaohua

Four solutions to cross domain problems

Zero basic C language learning notes -- first introduction -- 2 data types & variables and constants
![001 data type [basic]](/img/36/90fdf51a20f8c708b9c38610b377d6.jpg)
001 data type [basic]

Anyrtc implements application scenarios based on webrtc

Complement (Niuke)

How to do a good job in high concurrency system design? I have summarized three points

What would you choose between architecture optimization and business iteration?

Oracle中的With As 子查询
随机推荐
数控加工中心打刀缸工作原理及故障处理
Noj1042 - electronic mouse running through maze
Matlab to find prime pairs within 100
HD mechanical principle · classic dynamic drawing of mechanical design
G - building a space station
Tetris source code (color version)
Matlab finds a prime number that is greater than a given integer and follows this integer
Matlab finds prime numbers within 100
C. Registration system(map)
Soap comparison result file description
[matlab] 2D drawing summary
Programming of left-hand trapezoidal thread
Some reference routines for cache update
What would you choose between architecture optimization and business iteration?
Matlab calculates the factorial sum of the first n numbers (easy to understand)
G - navigation nightare
Matlab judges the number of same purchases
L - Jungle roads (minimum spanning tree)
Infrastructure is code. What are you talking about?
The short video and live broadcast incubation training camp with goods opens nationwide enrollment!