ModuleNotFoundError: No module named 'Crypto'
Opened this issue · 2 comments
TheLDB commented
Using python 3.6
Typed 'python3 mine.py' (using mac so python automatically refers to python 2.7)
got the error:
File "mine.py", line 2, in
from Crypto.Hash import SHA256
ModuleNotFoundError: No module named 'Crypto'
I've already done 'sudo pip install pycrypto'
deepserket commented
On my OS when i want to install modules for python3 i use "pip3 install MODULENAME".
try to open python2 and import Crypto, if it works then it means you have installed PyCrypto on python2 and not python3
rimcoin commented
Install PyCrypto with pip install PyCrypto.