General Question

richardhenry's avatar

Is the Python Imaging Library not available on PyPI, or am I missing something?

Asked by richardhenry (12641points) June 14th, 2009

PIL website: http://www.pythonware.com/products/pil/
PyPI: http://pypi.python.org/pypi/PIL/1.1.6

easy_install pil results in an error:

Searching for pil
Reading http://pypi.python.org/simple/pil/
Reading http://www.pythonware.com/products/pil
Reading http://effbot.org/zone/pil-changes-115.htm
Reading http://effbot.org/downloads/#Imaging
No local packages or download links found for pil
error: Could not find suitable distribution for Requirement.parse(‘pil’)

Any ideas?

Observing members: 0 Composing members: 0

6 Answers

richardhenry's avatar

Hm, forcing it to find-links seems to be working:

easy_install -f http://www.pythonware.com/products/pil/ Imaging

Got a heap of warnings along the way though. I’ll see how it turns out.

richardhenry's avatar

Hm. Now I have a PIL-1.1.6-py2.6-macosx-10.3-fat.egg in my site-packages, but I can’t actually import it. This is all very bizarre.

chyna's avatar

You are talking in a foreign language.

richardhenry's avatar

Actually, I can import it, but Django doesn’t seem to know about it.

Error: One or more models did not validate:
core.userprofile: “avatar”: To use ImageFields, you need to install the Python Imaging Library. Get it at http://www.pythonware.com/products/pil/ .

I’m using an ImageField in one of the my models.

andrew's avatar

For OSX, use http://py-pil.darwinports.com/

It was the only thing we could get to work (a few years ago).

richardhenry's avatar

@andrew Yeah, the situation hasn’t changed. That seems to have installed fine, thanks Andrew.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther