Skip to content

Instantly share code, notes, and snippets.

@Shellbye
Created June 2, 2016 02:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shellbye/ab191ef1247a2ba808009c9ff30e43e6 to your computer and use it in GitHub Desktop.
Save Shellbye/ab191ef1247a2ba808009c9ff30e43e6 to your computer and use it in GitHub Desktop.
install_pillow_in_ubuntu_1404
#!/usr/bin/env bash
wget https://pypi.python.org/packages/e2/af/0a3981fffc5cd43078eb8b1057702e0dd2d5771e5aaa36cbd140e32f8473/Pillow-3.2.0.tar.gz#md5=7cfd093c11205d9e2ebe3c51dfcad510
tar -xzvf Pillow-3.2.0.tar.gz
cd Pillow-3.2.0
apt-get update
apt-get install -y libjpeg-dev # ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting
apt-get install -y zlib1g-dev # ValueError: zlib is required unless explicitly disabled using --disable-zlib, aborting
apt-get install -y python-dev # error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
python setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment