just install this library.
Then go to the directory of this library: Lib\site-packages
Find crypto, and change it to Crypto with initial capital
It's also a lot of holes
First of all, explain: the two libraries are the same library. But pycrypto is no longer maintained.
The library pycrypto can actually be used, and it is necessary to change the library name to uppercase. I don't know why the author did this, but I have to change the library name. If it is not changed, you will find that the references in the library are all problematic.