Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
install pillow (python imaging library) on ubuntu 18.04 (bionic)
#!/bin/bash
apt update
apt install python3-pip -y
apt install libjpeg8-dev zlib1g-dev libtiff-dev libfreetype6 libfreetype6-dev libwebp-dev libopenjp2-7-dev libopenjp2-7-dev -y
pip3 install pillow --global-option="build_ext" --global-option="--enable-zlib" --global-option="--enable-jpeg" --global-option="--enable-tiff" --global-option="--enable-freetype" --global-option="--enable-webp" --global-option="--enable-webpmux" --global-option="--enable-jpeg2000"
@KonstToIT

This comment has been minimized.

Copy link

@KonstToIT KonstToIT commented Aug 12, 2019

Thank you very much!

@replyprobadler

This comment has been minimized.

Copy link

@replyprobadler replyprobadler commented Dec 16, 2019

Works great; thank you very much!

@Github-BOBliu

This comment has been minimized.

Copy link

@Github-BOBliu Github-BOBliu commented Apr 18, 2020

thank you very much!

@DPAmes

This comment has been minimized.

Copy link

@DPAmes DPAmes commented Oct 13, 2020

Thank you! This worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment