While i try to install Pillow 2.5.3 I am getting an error : command 'x86_64-linux-gnu-gcc' failed with exit status 1
Here is the complete log of what happened
I need this library as a part of another python project. I have gone through many solutions but none helped me
You are missing Python headers. Install python-dev
from your distribution's package manager.
Equally for python 3. Install python3-dev
, example:
sudo apt-get install python3-dev
I have tried python-dev
package but not worked for me. Then i have tried below code work like charm
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
If you are running python 3.6 the use this command
sudo apt-get install python3.6-dev