<?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>Fri, 27 Aug 2010 15:06:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<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>
	<item>
		<title>By: Andrew</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-405</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sat, 20 Mar 2010 01:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-405</guid>
		<description>Hi Chris,

Thanks for this info, and making your repos available.

I&#039;ve just tried this on a very very minimal clean 5.4 install and get the following error:

Error: Missing Dependency: libffi.so.5 is needed by package python26-2.6.2-2.i386 (chl)

Looks like libffi is needed, but that package isn&#039;t available in any default CentOS repos. It&#039;s available in the Fedora EPEL CentOS repos... you might want to note that.

Cheers,

Andrew</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>Thanks for this info, and making your repos available.</p>
<p>I&#8217;ve just tried this on a very very minimal clean 5.4 install and get the following error:</p>
<p>Error: Missing Dependency: libffi.so.5 is needed by package python26-2.6.2-2.i386 (chl)</p>
<p>Looks like libffi is needed, but that package isn&#8217;t available in any default CentOS repos. It&#8217;s available in the Fedora EPEL CentOS repos&#8230; you might want to note that.</p>
<p>Cheers,</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frans</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-380</link>
		<dc:creator>Frans</dc:creator>
		<pubDate>Fri, 12 Feb 2010 10:25:55 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-380</guid>
		<description>Thanks for this info.
For the missing dependencies I used the epel repository:
http://fedoraproject.org/wiki/EPEL</description>
		<content:encoded><![CDATA[<p>Thanks for this info.<br />
For the missing dependencies I used the epel repository:<br />
<a href="http://fedoraproject.org/wiki/EPEL" rel="nofollow">http://fedoraproject.org/wiki/EPEL</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pulegium</title>
		<link>http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/comment-page-1/#comment-347</link>
		<dc:creator>pulegium</dc:creator>
		<pubDate>Wed, 30 Dec 2009 15:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/?p=329#comment-347</guid>
		<description>Hi Chris,

Cheers for posting this and creating a repo.

Just a note for those who want to create their own RPMs (for example to package fresh and new python :) ) I&#039;ve created a quick guide how to package Python manually:

http://www.grenadepod.com/2009/12/26/building-python-2-6-4-rpm-for-centos-5-4/

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>Cheers for posting this and creating a repo.</p>
<p>Just a note for those who want to create their own RPMs (for example to package fresh and new python <img src='http://chrislea.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) I&#8217;ve created a quick guide how to package Python manually:</p>
<p><a href="http://www.grenadepod.com/2009/12/26/building-python-2-6-4-rpm-for-centos-5-4/" rel="nofollow">http://www.grenadepod.com/2009/12/26/building-python-2-6-4-rpm-for-centos-5-4/</a></p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
