I\'m trying my hands on encryption for a while now. I recently got hands on this python based crypter named PythonCrypter.
I\'m fairly new to Python and when I try to o
I know this has already been answered, but I want to expand a little bit
pip install Crypto --> IS THE WRONG PACKAGE
if you do this run the below to remove it:
$> pip uninstall Crypto
Now, to install type:
$> pip uninstall pycrypto --> just in case you have a broken package already
$> pip install pycrypto
On macOS Catalina this will automatically install the pycrypto package for Python3.6 ONLY.
This means that if you run:
python your_script.py
It wil fail. Unless of course Python3 is set as your default.
Now if you really want to run pycrypto on Python2 you can run the below
$> sudo pip2 install pycrypto
You will need the sudo for this to work!
This will install pycrypto for Python2 only.
I hope this helps someone who might be installing then running with python2, or who wants the package installed with Python2 but is continuously installing with the Python3 package