@gd1xza

После установки модуля pip не могу импортнуть?

>>>pip3 install Crypto
Requirement already satisfied: Crypto in c:\users\vlad\appdata\local\programs\python\python39\lib\site-packages (1.4.1)
Requirement already satisfied: Naked in c:\users\vlad\appdata\local\programs\python\python39\lib\site-packages (from Crypto) (0.1.31)
Requirement already satisfied: shellescape in c:\users\vlad\appdata\local\programs\python\python39\lib\site-packages (from Crypto) (3.8.1)
Requirement already satisfied: requests in c:\users\vlad\appdata\local\programs\python\python39\lib\site-packages (from Naked->Crypto) (2.25.1)
Requirement already satisfied: pyyaml in c:\users\vlad\appdata\local\programs\python\python39\lib\site-packages (from Naked->Crypto) (5.4.1)
Requirement already satisfied: idna<3,>=2.5 in c:\users\vlad\appdata\local\programs\python\python39\lib\site-packages (from requests->Naked->Crypto) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\vlad\appdata\local\programs\python\python39\lib\site-packages (from requests->Naked->Crypto) (2020.12.5)
Requirement already satisfied: chardet<5,>=3.0.2 in c:\users\vlad\appdata\local\programs\python\python39\lib\site-packages (from requests->Naked->Crypto) (4.0.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\vlad\appdata\local\programs\python\python39\lib\site-packages (from requests->Naked->Crypto) (1.26.2)
WARNING: You are using pip version 20.3.3; however, version 21.0 is available.
You should consider upgrading via the 'c:\users\vlad\appdata\local\programs\python\python39\python3.exe -m pip install --upgrade pip' command.


>>> import Crypto
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'Crypto'
  • Вопрос задан
  • 146 просмотров
Пригласить эксперта
Ответы на вопрос 1
@vascodogama
$ pip install pycryptodome==3.4.3

удалить pycrypto если он есть, так как pycrypto and pycryptodome имеют модуль Crypto
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы