<?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: Easy Python 2.6 / Django on CentOS 5</title>
	<atom:link href="http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/</link>
	<description>because i totally have enough free time to be blogging...</description>
	<lastBuildDate>Tue, 10 Jan 2012 19:15:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Peter Hanley</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-854</link>
		<dc:creator>Peter Hanley</dc:creator>
		<pubDate>Tue, 10 Jan 2012 19:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-854</guid>
		<description>I worked around the easy_install problem (i.e. that easy_install installed to /usr/lib/python2.4/site-packages/)  by doing 

&lt;code&gt;
alias easy26=&#039;sudo python26 /usr/lib/python2.6/site-packages/easy_install.py&#039;
&lt;/code&gt;

and then installing libraries with easy26: 

 &lt;code&gt;easy26 python26-flickrapi&lt;/code&gt;

The right way?  Probably not?  Did it work?  Probably. ;-)</description>
		<content:encoded><![CDATA[<p>I worked around the easy_install problem (i.e. that easy_install installed to /usr/lib/python2.4/site-packages/)  by doing </p>
<p><code><br />
alias easy26='sudo python26 /usr/lib/python2.6/site-packages/easy_install.py'<br />
</code></p>
<p>and then installing libraries with easy26: </p>
<p> <code>easy26 python26-flickrapi</code></p>
<p>The right way?  Probably not?  Did it work?  Probably. <img src='http://chrislea.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heyu</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-850</link>
		<dc:creator>heyu</dc:creator>
		<pubDate>Mon, 07 Nov 2011 12:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-850</guid>
		<description>centos sucks nuts, using old ass crusty software because the devs believe that it is &quot;stable&quot; or &quot;secure&quot; is crap, that old GCC is worthless.</description>
		<content:encoded><![CDATA[<p>centos sucks nuts, using old ass crusty software because the devs believe that it is &#8220;stable&#8221; or &#8220;secure&#8221; is crap, that old GCC is worthless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: derelict</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-803</link>
		<dc:creator>derelict</dc:creator>
		<pubDate>Wed, 18 May 2011 23:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-803</guid>
		<description>@ed &amp; @matt -- try removing mod_python first (unless you really need it in its current version), that cleared it for me.  THANK YOU SO MUCH this was an easy workaround for my CentOS 5 install.</description>
		<content:encoded><![CDATA[<p>@ed &amp; @matt &#8212; try removing mod_python first (unless you really need it in its current version), that cleared it for me.  THANK YOU SO MUCH this was an easy workaround for my CentOS 5 install.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Mah</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-505</link>
		<dc:creator>Matt Mah</dc:creator>
		<pubDate>Mon, 16 Aug 2010 15:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-505</guid>
		<description>plus one on ed davidson&#039;s error:

&#039;mod_python26 conflicts with mod_python&#039;

After removing mod_python26 from the list of packages the yum install went flawlessly.

I am guessing that until I get mod_python26 installed I cannot take advantage of the 2.6 hotness with Django.</description>
		<content:encoded><![CDATA[<p>plus one on ed davidson&#8217;s error:</p>
<p>&#8216;mod_python26 conflicts with mod_python&#8217;</p>
<p>After removing mod_python26 from the list of packages the yum install went flawlessly.</p>
<p>I am guessing that until I get mod_python26 installed I cannot take advantage of the 2.6 hotness with Django.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ed davison</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-475</link>
		<dc:creator>ed davison</dc:creator>
		<pubDate>Tue, 13 Jul 2010 18:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-475</guid>
		<description>Just tried to update this (and thanks for the repo!) and am getting an error:

mod_python26-3.3.1-11.i386 from chl has depsolving problems
  --&gt; mod_python26 conflicts with mod_python
Error: mod_python26 conflicts with mod_python
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.</description>
		<content:encoded><![CDATA[<p>Just tried to update this (and thanks for the repo!) and am getting an error:</p>
<p>mod_python26-3.3.1-11.i386 from chl has depsolving problems<br />
  &#8211;&gt; mod_python26 conflicts with mod_python<br />
Error: mod_python26 conflicts with mod_python<br />
 You could try using &#8211;skip-broken to work around the problem<br />
 You could try running: package-cleanup &#8211;problems<br />
                        package-cleanup &#8211;dupes<br />
                        rpm -Va &#8211;nofiles &#8211;nodigest<br />
The program package-cleanup is found in the yum-utils package.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack mullen</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-437</link>
		<dc:creator>jack mullen</dc:creator>
		<pubDate>Wed, 19 May 2010 21:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-437</guid>
		<description>Thank you Chris :

The procedure was fast , easy and it worked !</description>
		<content:encoded><![CDATA[<p>Thank you Chris :</p>
<p>The procedure was fast , easy and it worked !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Timby</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-431</link>
		<dc:creator>Ben Timby</dc:creator>
		<pubDate>Mon, 17 May 2010 17:36:52 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-431</guid>
		<description>Chris, thanks for doing this.

I just finished following your lead but for x86_64 and mod_wsgi. I also updated some of the RPMs, and built a bunch of other packages for python26-* libraries that my app needed.

Maybe one of your readers will find my work useful!

http://ben.timby.com/?p=123</description>
		<content:encoded><![CDATA[<p>Chris, thanks for doing this.</p>
<p>I just finished following your lead but for x86_64 and mod_wsgi. I also updated some of the RPMs, and built a bunch of other packages for python26-* libraries that my app needed.</p>
<p>Maybe one of your readers will find my work useful!</p>
<p><a href="http://ben.timby.com/?p=123" rel="nofollow">http://ben.timby.com/?p=123</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-419</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 27 Apr 2010 00:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-419</guid>
		<description>Hey sydney,
I am far away from being a crack in CentOS, but it looks like for some reason std. pythong binary was replaced by the 2.6.x version. You should have a look of there is more than one binary available in /usr/bin or whereever it is supposed to be. just enter which python and look in the path that it returns. 
If other version of python is still there create a symlink in that place called python and link it to python 2.4.x version.

Try a bit, but make sure to be able to revert back to the config now.

Just an idea from a beginner of CentOS but a long time user of *nix.</description>
		<content:encoded><![CDATA[<p>Hey sydney,<br />
I am far away from being a crack in CentOS, but it looks like for some reason std. pythong binary was replaced by the 2.6.x version. You should have a look of there is more than one binary available in /usr/bin or whereever it is supposed to be. just enter which python and look in the path that it returns.<br />
If other version of python is still there create a symlink in that place called python and link it to python 2.4.x version.</p>
<p>Try a bit, but make sure to be able to revert back to the config now.</p>
<p>Just an idea from a beginner of CentOS but a long time user of *nix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sidney</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-418</link>
		<dc:creator>Sidney</dc:creator>
		<pubDate>Sun, 25 Apr 2010 14:35:34 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-418</guid>
		<description>I updated Python on my CentOs5.4 system, everything checked out except I can&#039;t seem to get YUM to work anymore. I read the faq but didn&#039;t sort it out. Can you please help?

thanks - sidney

--------------

[root@Linux /]# python -V
Python 2.6.5
[root@Linux /]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It&#039;s possible that the above module doesn&#039;t match the
current version of Python, which is:
2.6.5 (r265:79063, Apr 25 2010, 05:32:41)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq</description>
		<content:encoded><![CDATA[<p>I updated Python on my CentOs5.4 system, everything checked out except I can&#8217;t seem to get YUM to work anymore. I read the faq but didn&#8217;t sort it out. Can you please help?</p>
<p>thanks &#8211; sidney</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>[root@Linux /]# python -V<br />
Python 2.6.5<br />
[root@Linux /]# yum<br />
There was a problem importing one of the Python modules<br />
required to run yum. The error leading to this problem was:</p>
<p>   No module named yum</p>
<p>Please install a package which provides this module, or<br />
verify that the module is installed correctly.</p>
<p>It&#8217;s possible that the above module doesn&#8217;t match the<br />
current version of Python, which is:<br />
2.6.5 (r265:79063, Apr 25 2010, 05:32:41)<br />
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]</p>
<p>If you cannot solve this problem yourself, please go to<br />
the yum faq at:<br />
  <a href="http://yum.baseurl.org/wiki/Faq" rel="nofollow">http://yum.baseurl.org/wiki/Faq</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-406</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sat, 20 Mar 2010 01:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-406</guid>
		<description>Chris,

Another thing... your version of python-setuptools breaks things like pip:

[root@django /]# pip
Traceback (most recent call last):
  File &quot;/usr/bin/pip&quot;, line 2, in ?
    import pip
  File &quot;/usr/lib/python2.4/site-packages/pip.py&quot;, line 6, in ?
    import pkg_resources
ImportError: No module named pkg_resources

Easy enough to fix this with a few links:

cd /usr/lib/python2.4/site-packages/
ln -s /usr/lib/python2.6/site-packages/pkg_resources*   
ln -s /usr/lib/python2.6/site-packages/pkg_resources.pyo 
ln -s /usr/lib/python2.6/site-packages/pkg_resources.pyc 
ln -s /usr/lib/python2.6/site-packages/pkg_resources.py 

Cheers,

Andrew</description>
		<content:encoded><![CDATA[<p>Chris,</p>
<p>Another thing&#8230; your version of python-setuptools breaks things like pip:</p>
<p>[root@django /]# pip<br />
Traceback (most recent call last):<br />
  File &#8220;/usr/bin/pip&#8221;, line 2, in ?<br />
    import pip<br />
  File &#8220;/usr/lib/python2.4/site-packages/pip.py&#8221;, line 6, in ?<br />
    import pkg_resources<br />
ImportError: No module named pkg_resources</p>
<p>Easy enough to fix this with a few links:</p>
<p>cd /usr/lib/python2.4/site-packages/<br />
ln -s /usr/lib/python2.6/site-packages/pkg_resources*<br />
ln -s /usr/lib/python2.6/site-packages/pkg_resources.pyo<br />
ln -s /usr/lib/python2.6/site-packages/pkg_resources.pyc<br />
ln -s /usr/lib/python2.6/site-packages/pkg_resources.py </p>
<p>Cheers,</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
</channel>
</rss>

