python - PIL selftests fine and can import __imaging, but still "Imaging is not installed" error -
i'm running os x 10.7.5 , have been trying weeks pil working.
it installs , compiles fine, passes selftest, , can import __imaging without errors.
however, when try , use scikit-image reading , writing functionality, depends on pil, still classic "the imaging c module not installed" error.
does have idea how debug this? stumped.
try pillow. it's fork of pil , has fixed many bugs , actively developed, unlike pil.
mac os x installation instructions can found here:
note: do not need install of external libraries pillow’s basics work.
we not provide binaries os x, you’ll need xcode install pillow. (xcode 4.2 on 10.6 work official python binary distribution. otherwise, use whatever xcode used compile python.)
the easiest way install prerequisites via homebrew. after install homebrew, run:
$ brew install libtiff libjpeg webp little-cms2
if you’ve built own python, should able install pillow using:
$ pip install pillow
also, it's best avoid os x's system python , use homebrew version.
Comments
Post a Comment