Environment: Linux Mint 17 Cinnamon.
This error is displayed:
error: command \'x86_64-linux-gnu-gcc\' failed with exit status 1
w
This can be a problem in the pip. To solve, try:
sudo apt-get remove python-pip
To install pip, securely download get-pip.py.
https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
Work for me :
Just install python2.7-dev first
sudo apt-get install python2.7-dev
Easiest way is:
sudo apt-get build-dep python-imaging
and then
pip install pillow
This works for me, 12.04, python2.7.6 for package lxml
sudo pip install libxml2 libxml2-dev libxslt1-dev
sudo pip install lxml
The cffi
library needs libffi-dev
:
sudo apt-get install libffi libffi-dev
In Ubuntu 16.04.1 this worked for me:
sudo apt-get install libxml2-dev libxslt1-dev python-dev