Hello everybody! According to this thread, it is because PIL (Python Imaging Library) cannot find the system libraries needed. The thread mentions two ways to fix this. The first way involves editing setup.py for PIL and I couldn't get it to work. The other way involves creating symboling links to the libraries so the installer finds them. This I cannot do because I don't have sudo rights. I found the libraries on Webfaction's server and the commands would be: sudo ln -s /usr/lib64/libfreetype.so /usr/lib/ Does anyone know of a third solution, or do I need to open a ticket? Thanks in advance! asked 13 May '12, 22:52 sterneberg |
Hi sterneberg, Installing third party libraries on your WebFaction hosted sites is quite straightforward. To install a package to your home directory, simply follow these steps:
For more information please see the docs at: http://docs.webfaction.com/software/python.html#installing-python-packages If you have any other questions please don't hesitate to ask. Regards, Wayne K WebFaction Support answered 13 May '12, 23:31 waynek Hi Wayne, Thank you for the response. PIL is installed and works for BMP images, but not for PNG and JPG, because PIL could not find the system libraries during installation. This is a bug in the PIL software that (according to my understanding) must be remedied using one of the methods I mentioned. Using BMP images only on the website would make load times a lot longer, so I'm hoping to avoid it. Thanks again
(18 May '12, 05:14)
sterneberg
|
Try installing PIL according to the community question How to install PIL with truetype support. It should find the JPEG libraries and verify it when running the answered 18 May '12, 05:31 iliasr ♦♦ |