|
Loading...
|
image-sig@python.org
[Prev] Thread [Next] | [Prev] Date [Next]
[Image-SIG] JPEG libraries on python virtual environments Bryce2 Nesbitt Thu Feb 02 04:13:19 2012
I recently struggled to get PIL to recognize JPG images from within a
Python virtual environment. I'm writing to the list to document what
I eventually found:
pip uninstall PIL
sudo apt-get install libjpeg8-dev
pip install PIL
http://stackoverflow.com/questions/4435016/install-pil-on-virtualenv-with-libjpeg
PIL seems really picky about version and location of the jpeg
libraries. And because PIL is written in C and compiled, you need the
development versions of the library in addition to the runtime
versions.
Turns:
--------------------------------------------------------------------
*** TKINTER support not available
--- JPEG support not available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
*** LITTLECMS support not available
--------------------------------------------------------------------
Into:
--------------------------------------------------------------------
*** TKINTER support not available
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
*** LITTLECMS support not available
--------------------------------------------------------------------
_______________________________________________
Image-SIG maillist - [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/image-sig
- [Image-SIG] JPEG libraries on python virtual environments Bryce2 Nesbitt 2012/02/02 <=
- Re: [Image-SIG] JPEG libraries on python virtual environments Charlie Clark 2012/02/02