简体   繁体   中英

Why can't I import the Crypto module in python even with pycryptodome installed?

I have run all commands in the terminal to clear any previous forms of crypto, but after I ran "pip3 install pycryptodome" and it successfully installed, I still cannot import the "Crypto.Cipher" module. Can anyone help?

You should use:

pip3 uninstall crypto 
pip3 uninstall pycrypto 
pip3 install pycryptodome

All these packages get installed in the same folder so will overwrite files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM