Django: Farewell pycrypto library ~

In the development of micro-letters landed function to decrypt the user information need to use Crypto package, so install the pycrypto library.

Linux, OS X system can be directly pip install pycrypto.

 

Under a recent change to the development win10, pip install pycryptoare frequently being given.

Toss tried various methods, such as installing visual studio. It was never possible to solve the problem.

 

Find information found pycrypto library has been maintained for many years lost, the last update to stay in 2013 .

But the good news is that there are alternatives pycryptodome , it is out of the library fork pycrypto continue to develop, it is highly compatible with pycrypto, and there are enhanced.

PyCryptodome is a fork of PyCrypto. It brings several enhancements with respect to the last official version of PyCrypto (2.6.1)

 

So decisive pip install pycryptodome

Finally the project can run properly!

This will replace pycrypto pycryptodome, without changing any code.

Guess you like

Origin www.cnblogs.com/ZJT7098/p/10947394.html