I ran the script today and found that it kept prompting that the Crypto package had been installed, and it was still the same:
Solution:
pip uninstall crypto pycryptodome
pip install pycryptodome
pycrypto
and crypto
is the same library, which crypto
is also called in python pycrypto
. It is a third-party library, but it has stopped updating, so it is not recommended to install it. pycryptodome
Yes crypto
, the extended version, the usage crypto
is exactly the same as and can be completely replacedcrypto
If the above method still cannot solve the problem, you can find the following python \Lib\site-packages
, and manually crypto
change it Crypto
.