Blankman
Blankman

Reputation: 267060

Where do download python PIL module from?

Where do I download the python PIL module from? I found some sites but not sure if they can be trusted.

This is for my macbookpro.

Is effbot the source?

Upvotes: 0

Views: 3199

Answers (3)

aidanmelen
aidanmelen

Reputation: 6594

For Mac OSX there are two solid options. First you must open the Terminal App.

1. Try installing with homebrew with this command:

  • brew install pillow
  • brew list (this will check if it installed property)

2. Or you can install with pip with this command:

  • pip install pillow
  • pip show pillow (this will check if it installed property)

Upvotes: 0

Ned Deily
Ned Deily

Reputation: 85065

effbot.org is the website of PIL's author and maintainer, Fredrik Lundh, so http://effbot.org/downloads/ can be considered an authoritative source. There have been a number of forks of earlier versions, and unfortunately, the Python Package Index (normally reliable) entry for PIL is a bit out of date.

Installing PIL on OS X can be problematic because it requires 3rd-party C libraries, like libjpeg, that are not shipped with OS X. While you can fairly easily install those libraries with the popular open-source package distributors, like MacPorts, Homebrew, or Fink, it is often difficult to get all the options correct to match the Python in use. For that reason, I recommend using a complete solution, that is 3rd-party libs, PIL, and Python 2.6 all built and installed using the same distribution package manager. While there may be some first time gotchas, it will usually save a lot of headaches over time. For instance, using MacPorts, one command will install everything:

$ sudo port install py26-pil

But check other postings for possible gotchas and variants to use for MacPorts.

Upvotes: 2

easel
easel

Reputation: 4048

Yes, Effbot is a reputable source. The official source appears to be PythonWare. On a mac, you might want to just use pip, homebrew or macports to install it.

Upvotes: 0

Related Questions