[Image-SIG] Trouble installing PIL package

Ken Brooks ken at sparklight.com
Fri Jan 13 21:04:44 CET 2006


OS:  MacOS 10.4.4
System: 1GHz / 1GB RAM
Python: 2.3.5

Using MacPython's PackageManager to install PIL, came to following 
problem (at end of quoted text):

--------------------------------------------------------------------
PIL 1.1.5 BUILD SUMMARY
--------------------------------------------------------------------
version       1.1.5
platform      darwin 2.3.5 (#1, Mar 20 2005, 20:38:20)
               [GCC 3.3 20030304 (Apple Computer, Inc. build 1809)]
--------------------------------------------------------------------
--- TKINTER support ok
--- JPEG support ok
--- ZLIB (PNG/ZIP) support ok
*** FREETYPE2 support not available
--------------------------------------------------------------------
To add a missing option, make sure you have the required
library, and set the corresponding ROOT variable in the
setup.py script.

To check the build, run the selftest.py script.
running build_scripts
creating build/scripts-2.3
copying and adjusting Scripts/pilconvert.py -> build/scripts-2.3
copying and adjusting Scripts/pildriver.py -> build/scripts-2.3
copying and adjusting Scripts/pilfile.py -> build/scripts-2.3
copying Scripts/pilfont.py -> build/scripts-2.3
copying and adjusting Scripts/pilprint.py -> build/scripts-2.3
changing mode of build/scripts-2.3/pilconvert.py from 644 to 755
changing mode of build/scripts-2.3/pildriver.py from 644 to 755
changing mode of build/scripts-2.3/pilfile.py from 644 to 755
changing mode of build/scripts-2.3/pilfont.py from 664 to 775
changing mode of build/scripts-2.3/pilprint.py from 644 to 755
running install_lib
copying build/lib.darwin-8.4.0-Power_Macintosh-2.3/_imaging.so -> 
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PIL
copying build/lib.darwin-8.4.0-Power_Macintosh-2.3/_imagingtk.so -> 
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PIL
running install_scripts
copying build/scripts-2.3/pilconvert.py -> 
/System/Library/Frameworks/Python.framework/Versions/2.3/bin
error: 
/System/Library/Frameworks/Python.framework/Versions/2.3/bin/pilconvert.py: 
Permission denied
install PIL-1.1.5-source: running 
""/Applications/MacPython-2.3/PackageManager.app/Contents/MacOS/Python" 
setup.py install " failed

It really did fail:  when I try PIL's selftest.py, it says,
	*** The _imaging C module is not installed

If it was just a matter of copying files, I would use sudo and do it 
myself - but I've searched that setup.py script and I can't even find 
in it where the copy commands are being issued!

I also tried downloading PIL separately and saying:
	sudo python setup.py install
which got farther but still doesn't pass the selftest check.

Help??

Ken Brooks
Sparkling Light Software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/image-sig/attachments/20060113/9e5ba72f/attachment-0001.html 


More information about the Image-SIG mailing list