gpt4 book ai didi

python - 没有名为 crypto.cipher 的模块

转载 作者:太空狗 更新时间:2023-10-29 17:21:07 25 4
gpt4 key购买 nike

我现在正在尝试加密一段时间。我最近得到了这个基于 python 的密码器,名为 PythonCrypter .

我是 Python 的新手,当我尝试通过终端打开 CodeSection.py 文件时,出现错误提示 from Crypto.Cipher import AES
导入错误:没有名为 Crypto.Cipher 的模块

我做错了什么?

最佳答案

pip uninstall Crypto
pip uninstall pycrypto
pip install pycrypto

这对我有用。

重点是,当你安装pycrypto时,你应该先移除Crypto

关于python - 没有名为 crypto.cipher 的模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31485110/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com