<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Trouble installing PIL package</title></head><body>
<div>OS:&nbsp; MacOS 10.4.4</div>
<div>System: 1GHz / 1GB RAM</div>
<div>Python: 2.3.5</div>
<div><br></div>
<div>Using MacPython's PackageManager to install PIL, came to
following problem (at end of quoted text):</div>
<div><br></div>
<div><font
size="-1"
>--------------------------------------------------------------------<br
>
PIL 1.1.5 BUILD SUMMARY<br>
--------------------------------------------------------------------<br
>
version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.1.5<br>
platform&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; darwin 2.3.5 (#1, Mar 20 2005,
20:38:20)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp; [GCC 3.3 20030304 (Apple Computer, Inc. build
1809)]<br>
--------------------------------------------------------------------<br
>
--- TKINTER support ok<br>
--- JPEG support ok<br>
--- ZLIB (PNG/ZIP) support ok<br>
*** FREETYPE2 support not available<br>
--------------------------------------------------------------------<br
>
To add a missing option, make sure you have the required<br>
library, and set the corresponding ROOT variable in the<br>
setup.py script.<br>
<br>
To check the build, run the selftest.py script.<br>
running build_scripts<br>
creating build/scripts-2.3<br>
copying and adjusting Scripts/pilconvert.py -&gt;
build/scripts-2.3<br>
copying and adjusting Scripts/pildriver.py -&gt; build/scripts-2.3<br>
copying and adjusting Scripts/pilfile.py -&gt; build/scripts-2.3<br>
copying Scripts/pilfont.py -&gt; build/scripts-2.3<br>
copying and adjusting Scripts/pilprint.py -&gt; build/scripts-2.3<br>
changing mode of build/scripts-2.3/pilconvert.py from 644 to 755<br>
changing mode of build/scripts-2.3/pildriver.py from 644 to 755<br>
changing mode of build/scripts-2.3/pilfile.py from 644 to 755<br>
changing mode of build/scripts-2.3/pilfont.py from 664 to 775<br>
changing mode of build/scripts-2.3/pilprint.py from 644 to 755<br>
running install_lib<br>
copying build/lib.darwin-8.4.0-Power_Macintosh-2.3/_imaging.so -&gt;
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.<span
></span>3/site-packages/PIL<br>
copying build/lib.darwin-8.4.0-Power_Macintosh-2.3/_imagingtk.so -&gt;
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.<span
></span>3/site-packages/PIL<br>
running install_scripts<br>
copying build/scripts-2.3/pilconvert.py -&gt;
/System/Library/Frameworks/Python.framework/Versions/2.3/bin<br>
error:
/System/Library/Frameworks/Python.framework/Versions/2.3/bin/pilconve<span
></span>rt.py: Permission denied</font></div>
<div><font size="-1">install PIL-1.1.5-source: running
&quot;&quot;/Applications/MacPython-2.3/PackageManager.app/Contents/M<span
></span>acOS/Python&quot; setup.py install &quot; failed</font></div>
<div><br></div>
<div>It really did fail:&nbsp; when I try PIL's selftest.py, it
says,</div>
<div><font size="-1"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>*** The _imaging C module is not installed</font></div>
<div><br></div>
<div>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!</div>
<div><br></div>
<div>I also tried downloading PIL separately and saying:</div>
<div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>sudo
python setup.py install</div>
<div>which got farther but still doesn't pass the selftest
check.</div>
<div><br></div>
<div>Help??</div>
<div><br></div>
<div>Ken Brooks<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab></div>
<div>Sparkling Light
Software<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab></div>
</body>
</html>