WebFaction
Community site: login faq

Hi!

How can I install PIL (Python Imaging Library) on my webfaction hosting account?

asked 03 May '11, 14:29

Ali%20Ismayilov's gravatar image

Ali Ismayilov
323
accept rate: 0%


You don't need to install it - the latest Python Imaging Library is pre-installed on our servers:

$ python2.7 -c "from PIL import Image; print Image.VERSION"
1.1.7

If you need to install some older version, then you can do that with easy_install, eg:

mkdir -p ~/lib/python2.7
easy_install-2.7 http://effbot.org/downloads/Imaging-1.1.6.tar.gz

Hope that helps!

permanent link

answered 03 May '11, 15:20

seanf's gravatar image

seanf ♦♦
12.0k21534
accept rate: 37%

edited 03 May '11, 15:25

Someone broke something. There was a migration in the last week, and now PIL is broken.

python2.7 -c "from PIL import Image; print Image.VERSION"

results in:

ImportError: /home/bloordalebia/webapps/big2/lib/python2.7/site-packages/PIL/_imaging.so: undefined symbol: PyUnicodeUCS2_AsLatin1String

Any plan for a fix?

permanent link

answered 30 Apr, 02:11

Cody%20Django's gravatar image

Cody Django
111
accept rate: 0%

The Python C-extensions need to be updated for the new operating system. You should uninstall PIL and then reinstall it via your preferred python package manager.

Please open a support ticket if you need assistance with the uninstall/install.

(30 Apr, 12:01) aaront ♦♦ aaront's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×333
×6

question asked: 03 May '11, 14:29

question was seen: 5,447 times

last updated: 30 Apr, 12:01

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2017 PARAGON INTERNET GROUP LIMITED
WEBFACTION IS A SERVICE OF PARAGON INTERNET GROUP LIMITED
REGISTERED IN ENGLAND AND WALES 7573953 - VAT REGISTRATION NUMBER 182147021
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM