<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Mac OS X Lion: Install the Python Image Library (PIL)</title>
	<atom:link href="http://gpiot.com/mac-os-x-lion-install-the-python-image-library-pil/feed/" rel="self" type="application/rss+xml" />
	<link>http://gpiot.com/mac-os-x-lion-install-the-python-image-library-pil/</link>
	<description></description>
	<lastBuildDate>Mon, 17 Jun 2013 15:27:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Mathieu</title>
		<link>http://gpiot.com/mac-os-x-lion-install-the-python-image-library-pil/#comment-360</link>
		<dc:creator>Mathieu</dc:creator>
		<pubDate>Mon, 13 May 2013 14:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://gpiot.com/?p=285#comment-360</guid>
		<description>Hello guys,

This seems super simple but something is still wrong on my machine.

I had PIL installed without jpeg support and I want to add support. I installed the jpeg library as described. Then using pip, uninstalled and reinstalled pil.

At the end of the PIL setup, I get the following print in the console that looks promising
--------------------------------------------------------------------
    PIL 1.1.7 SETUP SUMMARY
--------------------------------------------------------------------
    version       1.1.7
    platform      darwin 2.7.1 (r271:86832, Aug  5 2011, 03:30:24)
                   [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
    --------------------------------------------------------------------
    --- TKINTER support available
    --- JPEG support available
    --- ZLIB (PNG/ZIP) support available
    --- FREETYPE2 support available
    *** LITTLECMS support not available
    --------------------------------------------------------------------

Unfortunately, if I start ipython and type
&gt; import Image
&gt; im = Image.open(&quot;test.jog&quot;)
&gt; im.show()
I get
IOError: decoder jpeg not available



I made sure that I&#039;m using the same python install everywhere. If I uninstall PIL using PIP, then &quot;import Image&quot; fails.


If you have any advise, let me know.
Thanks
Mathieu</description>
		<content:encoded><![CDATA[<p>Hello guys,</p>
<p>This seems super simple but something is still wrong on my machine.</p>
<p>I had PIL installed without jpeg support and I want to add support. I installed the jpeg library as described. Then using pip, uninstalled and reinstalled pil.</p>
<p>At the end of the PIL setup, I get the following print in the console that looks promising<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
    PIL 1.1.7 SETUP SUMMARY<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
    version       1.1.7<br />
    platform      darwin 2.7.1 (r271:86832, Aug  5 2011, 03:30:24)<br />
                   [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]<br />
    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
    &#8212; TKINTER support available<br />
    &#8212; JPEG support available<br />
    &#8212; ZLIB (PNG/ZIP) support available<br />
    &#8212; FREETYPE2 support available<br />
    *** LITTLECMS support not available<br />
    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Unfortunately, if I start ipython and type<br />
&gt; import Image<br />
&gt; im = Image.open(&#8220;test.jog&#8221;)<br />
&gt; im.show()<br />
I get<br />
IOError: decoder jpeg not available</p>
<p>I made sure that I&#8217;m using the same python install everywhere. If I uninstall PIL using PIP, then &#8220;import Image&#8221; fails.</p>
<p>If you have any advise, let me know.<br />
Thanks<br />
Mathieu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: guillaumepiot</title>
		<link>http://gpiot.com/mac-os-x-lion-install-the-python-image-library-pil/#comment-355</link>
		<dc:creator>guillaumepiot</dc:creator>
		<pubDate>Mon, 29 Apr 2013 09:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://gpiot.com/?p=285#comment-355</guid>
		<description>PIL website (http://www.pythonware.com/products/pil/) seems to be down, so that may be the issue, no package downloads are available at the moment. It&#039;ll be worth waiting for a bit I guess.</description>
		<content:encoded><![CDATA[<p>PIL website (<a href="http://www.pythonware.com/products/pil/" rel="nofollow">http://www.pythonware.com/products/pil/</a>) seems to be down, so that may be the issue, no package downloads are available at the moment. It&#8217;ll be worth waiting for a bit I guess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandeep</title>
		<link>http://gpiot.com/mac-os-x-lion-install-the-python-image-library-pil/#comment-354</link>
		<dc:creator>sandeep</dc:creator>
		<pubDate>Mon, 29 Apr 2013 08:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://gpiot.com/?p=285#comment-354</guid>
		<description>A bit embarrassing, but I got the following errors, can someone point out what is wrong
On sudo pip install PIL I get 
Downloading/unpacking PIL
  Could not find any downloads that satisfy the requirement PIL
No distributions at all found for PIL
------------------
and using easy_install gives a big error of which last line is

ile &quot;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/package_index.py&quot;, line 475, in fetch_distribution

AttributeError: &#039;NoneType&#039; object has no attribute &#039;clone&#039;</description>
		<content:encoded><![CDATA[<p>A bit embarrassing, but I got the following errors, can someone point out what is wrong<br />
On sudo pip install PIL I get<br />
Downloading/unpacking PIL<br />
  Could not find any downloads that satisfy the requirement PIL<br />
No distributions at all found for PIL<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
and using easy_install gives a big error of which last line is</p>
<p>ile &#8220;/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/package_index.py&#8221;, line 475, in fetch_distribution</p>
<p>AttributeError: &#8216;NoneType&#8217; object has no attribute &#8216;clone&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don Cross</title>
		<link>http://gpiot.com/mac-os-x-lion-install-the-python-image-library-pil/#comment-330</link>
		<dc:creator>Don Cross</dc:creator>
		<pubDate>Fri, 22 Mar 2013 19:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://gpiot.com/?p=285#comment-330</guid>
		<description>Thank you, Guillaume!  These instructions saved me a lot of time and headaches!</description>
		<content:encoded><![CDATA[<p>Thank you, Guillaume!  These instructions saved me a lot of time and headaches!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anon</title>
		<link>http://gpiot.com/mac-os-x-lion-install-the-python-image-library-pil/#comment-313</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Thu, 27 Dec 2012 22:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://gpiot.com/?p=285#comment-313</guid>
		<description>Thanks for the info!!!</description>
		<content:encoded><![CDATA[<p>Thanks for the info!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahmoud Hossam</title>
		<link>http://gpiot.com/mac-os-x-lion-install-the-python-image-library-pil/#comment-303</link>
		<dc:creator>Mahmoud Hossam</dc:creator>
		<pubDate>Sat, 03 Nov 2012 23:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://gpiot.com/?p=285#comment-303</guid>
		<description>Thank you very much man, really helpful :)</description>
		<content:encoded><![CDATA[<p>Thank you very much man, really helpful <img src='http://gpiot.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Powers Kenny</title>
		<link>http://gpiot.com/mac-os-x-lion-install-the-python-image-library-pil/#comment-302</link>
		<dc:creator>Powers Kenny</dc:creator>
		<pubDate>Fri, 14 Sep 2012 01:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://gpiot.com/?p=285#comment-302</guid>
		<description>Thanks, Extremely helpful. All other advice I found on this was very out of date.</description>
		<content:encoded><![CDATA[<p>Thanks, Extremely helpful. All other advice I found on this was very out of date.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://gpiot.com/mac-os-x-lion-install-the-python-image-library-pil/#comment-300</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Sat, 08 Sep 2012 23:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://gpiot.com/?p=285#comment-300</guid>
		<description>I finally fix my problem: in the mac distribution of Python, there is a folder called Python 2.7 (in the application folder). In this folder, there is a shell script. I run this script and miracle ! the default python is now 2.7.3.
Something remains strange for my poor mind: I only have to do this on the student&#039;s account. On the teacher&#039;s account, the version is naturally 2.7.3

Bref, je comprends pas tout (mais je me soigne) !

Thanks Guillaume</description>
		<content:encoded><![CDATA[<p>I finally fix my problem: in the mac distribution of Python, there is a folder called Python 2.7 (in the application folder). In this folder, there is a shell script. I run this script and miracle ! the default python is now 2.7.3.<br />
Something remains strange for my poor mind: I only have to do this on the student&#8217;s account. On the teacher&#8217;s account, the version is naturally 2.7.3</p>
<p>Bref, je comprends pas tout (mais je me soigne) !</p>
<p>Thanks Guillaume</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://gpiot.com/mac-os-x-lion-install-the-python-image-library-pil/#comment-299</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 07 Sep 2012 06:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://gpiot.com/?p=285#comment-299</guid>
		<description>You can&#039;t really force the system to use a specific version of Python, but you can make sure that the default Python eg on Linux: /user/bin/python point to the right version of python. Also I would recommend uninstalling the version that you don&#039;t want to avoid confusion.

Alternatively, you can install PIL on each version by calling the install script with the python version, eg: python2.7.2 setup.py install

Still you&#039;ll be better of with one version only!</description>
		<content:encoded><![CDATA[<p>You can&#8217;t really force the system to use a specific version of Python, but you can make sure that the default Python eg on Linux: /user/bin/python point to the right version of python. Also I would recommend uninstalling the version that you don&#8217;t want to avoid confusion.</p>
<p>Alternatively, you can install PIL on each version by calling the install script with the python version, eg: python2.7.2 setup.py install</p>
<p>Still you&#8217;ll be better of with one version only!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://gpiot.com/mac-os-x-lion-install-the-python-image-library-pil/#comment-298</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Thu, 06 Sep 2012 21:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://gpiot.com/?p=285#comment-298</guid>
		<description>Well, I have two users account on the mac:
- teacher&#039;s account (can administrate)
- student&#039;s account (non admin, parental controls)

After your answer I have discover the origin of my problem.

When I use IDLE (on both accounts) PIL is found.
When I use CodeRunner (a light code editor) PIL is found on the first account (admin) but not on the second one. I think the problem is in the &quot;Run command&quot; on this software (which launch python 2.7.2 instead of 2.7.3).

So, do you know what is the command (in terminal) to &quot;force&quot; python 2.7.3 to be the default version ?

Thanks for any help
(and sorry for my poor english)
</description>
		<content:encoded><![CDATA[<p>Well, I have two users account on the mac:<br />
- teacher&#8217;s account (can administrate)<br />
- student&#8217;s account (non admin, parental controls)</p>
<p>After your answer I have discover the origin of my problem.</p>
<p>When I use IDLE (on both accounts) PIL is found.<br />
When I use CodeRunner (a light code editor) PIL is found on the first account (admin) but not on the second one. I think the problem is in the &#8220;Run command&#8221; on this software (which launch python 2.7.2 instead of 2.7.3).</p>
<p>So, do you know what is the command (in terminal) to &#8220;force&#8221; python 2.7.3 to be the default version ?</p>
<p>Thanks for any help<br />
(and sorry for my poor english)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
