Failed Installing Pycrypto With Pip
Solution 1:
The solution was simple
just
pip uninstall pycrypto
pip install pycryptodome
And every should just work fine, it worked for me!
Solution 2:
In some cases it is a dependency issue. It can be solved as follows:
for python2
run the following command:
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
For python3
run
sudo apt-get install build-essential libssl-dev libffi-dev python3-dev
Solution 3:
I fixed same problem in linux running sudo apt-get install pythonX.X-dev
before installing pycrypto. Replace pythonX.X with your python version e.g. sudo apt-get install python3.6-dev
Solution 4:
Create new environment for python project for using command conda create -n env_name python=3.6 you to write python version according to your requirements. after that you can clone your project in that environment. it will work.
Solution 5:
installing python3-devel (for python3) helped to solve my problem details in fatal error: Python.h: No such file or directory
Post a Comment for "Failed Installing Pycrypto With Pip"