ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> image-sig
image-sig
[Image-SIG] Trouble installing PIL package
by Ken Brooks other posts by this author
Mar 30 2006 1:26PM messages near this date
[Image-SIG] hair follicle gene expression display | [Image-SIG] Patch to Imaging-1.1.5 to allow bdist_rpm
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved