Open thejae opened 9 years ago
Hi,
I think you might need to install a few extra ubuntu packages to get it working. e.g. try these:
pip uninstall Pillow
apt-get install libjpeg-dev
apt-get install zlib1g-dev
apt-get install libpng12-dev
pip install Pillow
Hello there! Thanks for the amazingly fast reply. Yes I got those installed already, actually if I run the selftest.py
file that comes with PIL, I get a success message:
mb@colour:/var/www/Imaging-1.1.7$ python2.7 selftest.py
--------------------------------------------------------------------
PIL 1.1.7 TEST SUMMARY
--------------------------------------------------------------------
Python modules loaded from ./PIL
Binary modules loaded from /usr/local/lib/python2.7/dist-packages/PIL
--------------------------------------------------------------------
*** PIL CORE support not installed
*** TKINTER support not installed
--- JPEG support ok
--- ZLIB (PNG/ZIP) support ok
*** FREETYPE2 support not installed
*** LITTLECMS support not installed
--------------------------------------------------------------------
Running selftest:
--- 57 tests passed.
Was colorific developed on RHEL?
Colorific was developed on ubuntu (12.04 from what I remember). I haven't tested on RHEL before.
I'm just doing some quick tests on ubuntu 14.10 at the moment...
This seemed to work for me:
virtualenv colorific-sandbox
. colorific-sandbox/bin/activate
apt-get install libjpeg-dev zlib1g-dev libpng12-dev python-dev
./colorific-sandbox/bin/pip install colorific
echo EolpfRH.jpg | colorific
EolpfRH.jpg #9da8b7,#242517,#322d2a,#656c74,#63544b
Are you using a virtualenv? Are you using the PIL or Pillow library?
Am using virtualenv. Tested using pip install Pillow
at first then I uninstalled it to compile PIL.
I'll spin up a new 14.10 to test it.
I have been playing with Colorific since this morning and I still can't get it to work, am stuck at the decoder not available error message.
System Ubuntu 14.04 x64