ImportError: No module named Crypto.Cipher

前端 未结 25 1325
后悔当初
后悔当初 2020-11-28 04:08

When I try to run app.py (Python 3.3, PyCrypto 2.6) my virtualenv keeps returning the error listed above. My import statement is just from Crypto.Cipher import AES

25条回答
  •  [愿得一人]
    2020-11-28 04:57

    If you are using this module with Python3 and having trouble with import. try this.

    pip uninstall crypto
    pip uninstall pycryptodome
    pip install pycryptodome
    

    Good Luck!

提交回复
热议问题