在 windows 中使用 pip 安装 Crypto
Install Crypto using pip in windows
我尝试分别使用 pycrypto、pycryptodome 和 crypto.. 但它显示 ModuleNotFoundError: No module named 'Crypto'
python -m venv .venv
.venv\scripts\activate
pip install pycryptodome
pip install pycrypto
pip install crypto
安装了以上所有库..
(.venv) C:\Users\Gokul\Desktop\New Meter>python send_string.py
Traceback (most recent call last):
File "C:\Users\Gokul\Desktop\New Meter\send_string.py", line 7, in <module>
from Crypto.Cipher import AES
ModuleNotFoundError: No module named 'Crypto'
简单地删除我现有的pycrpto/pycryptodome-3.11.0文件夹位于..\Python\Python310\Lib\site-packages(如果有的话..),然后尝试
pip install pycryptodome
我尝试分别使用 pycrypto、pycryptodome 和 crypto.. 但它显示 ModuleNotFoundError: No module named 'Crypto'
python -m venv .venv
.venv\scripts\activate
pip install pycryptodome
pip install pycrypto
pip install crypto
安装了以上所有库..
(.venv) C:\Users\Gokul\Desktop\New Meter>python send_string.py
Traceback (most recent call last):
File "C:\Users\Gokul\Desktop\New Meter\send_string.py", line 7, in <module>
from Crypto.Cipher import AES
ModuleNotFoundError: No module named 'Crypto'
简单地删除我现有的pycrpto/pycryptodome-3.11.0文件夹位于..\Python\Python310\Lib\site-packages(如果有的话..),然后尝试
pip install pycryptodome