Skip to content

Instantly share code, notes, and snippets.

@daleobrien
Created July 14, 2013 08:12
Show Gist options
  • Save daleobrien/5993593 to your computer and use it in GitHub Desktop.
Save daleobrien/5993593 to your computer and use it in GitHub Desktop.
Install pillow (for pypy) onto AWS
# support for pillow
yum install libX11-devel
wget http://prdownloads.sourceforge.net/tcl/tcl8.4.20-src.tar.gz
tar -xvf tcl8.4.20-src.tar.gz
cd tcl8.4.20/unix/
./configure && make -j4 && sudo make install
cd ~
wget http://prdownloads.sourceforge.net/tcl/tk8.4.20-src.tar.gz
tar -xvf tk8.4.20-src.tar.gz
cd tk8.4.20/unix
./configure && make -j4 && sudo make install
# needed for
pip install hg+https://bitbucket.org/pypy/tkinter
# so I can biuld a 3rd party module ...
sudo mkdir /usr/local/sbin/pypy-2.1-beta-src/lib_pypy/_tkinter/__pycache__
sudo chmod o+rw /usr/local/sbin/pypy-2.1-beta-src/lib_pypy/_tkinter/__pycache__
pip install git+https://github.com/python-imaging/Pillow.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment