General Question

richardhenry's avatar

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

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

PIL website:

easy_install pil results in an error:

Searching for pil
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 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 .

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

andrew's avatar

For OSX, use

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




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?
Knowledge Networking @ Fluther