ImportError: No module named Crypto.Cipher

前端 未结 25 1392
后悔当初
后悔当初 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:44

    Well this might appear weird but after installing pycrypto or pycryptodome , we need to update the directory name crypto to Crypto in lib/site-packages

    Reference

提交回复
热议问题