I am trying to setup my Django variant (Wagtail) but have problems installing the required Pillow.
Background: Am running Python 2.6.6
, in virtua
I had a similar problem (gcc failed, but no mention of permissions), but it was dependencies that were my problem. By the way, my task was to install Pillow on a raspberry pi, which is why those dev libraries were necessary. They may not be necessary for you. It was the python-imaging command that did the trick most, I think. Here's what I did:
# Add the deb-src for each deb in /etc/apt/sources list
sudo apt-get update
sudo apt-get install python2.7-dev tk8.5 tcl8.5 tk8.5-dev tcl8.5-dev
sudo apt-get build-dep python-imaging --fix-missing
sudo pip install Pillow
Sources: https://github.com/python-imaging/Pillow/issues/322 http://forums.getpebble.com/discussion/8490/ubuntu-install-problem-when-it-comes-to-pip https://unix.stackexchange.com/questions/105265/install-pil-pillow-via-pip-in-debian-testing-jessie