本文介绍了没有名为crypto.cipher的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试加密一段时间.我最近接触了这个基于Python的,名为 PythonCrypter 的加密器.
I'm trying my hands on encryption for a while now. I recently got hands on this python based crypter named PythonCrypter.
我是Python的新手,当我尝试通过终端打开CodeSection.py文件时,我从Crypto.Cipher导入AES时出现错误,说ImportError:没有名为Crypto.Cipher的模块
I'm fairly new to Python and when I try to open the CodeSection.py file via terminal, I get error saying from Crypto.Cipher import AESImportError: No Module Named Crypto.Cipher
我做错了什么?
推荐答案
pip uninstall Crypto
pip uninstall pycrypto
pip install pycrypto
对我有用.
问题是,当您安装 pycrypto
时,应先删除 Crypto
The point is, when you install pycrypto
, you should remove Crypto
first
这篇关于没有名为crypto.cipher的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!