Python-mysql: Still stuck.

Joshua Schmidlkofer menion at asylumwear.com
Thu Oct 10 06:44:09 CEST 2002


Mongo,

 On a more significant note - python in your Redhat distro is NOT a cp,
but a hard-link. (It uses the same physical disk space) soooo If you run
python1.5, you will most likley get a python 2.2 interpreter.   The
correct solution is to rm python, then link, or cp it yourself, I prefer
a soft-link.  ( ln -s python2.2 python)

You can use midnight commander to re-extract just the python1.5 binary
from the redhat python archive.  

Also a lot of Redhat utilities depend on /usr/bin/python, and it being
1.5, so I recommend that you grep for /usr/bin/python in the bin's, and
sbin's - looking for all those utilities that depend on Python being te
RH proprietary.


good luck,

 js



On Wed, 2002-10-09 at 22:23, mongo57a at comcast.net wrote:
> Well, after pulling nearly all of my hair out, I finally have the answer:
> The build process must use internal python directives which reference
> "python" and not "python2.2" or whatever version you have installed. So I
> have python1.5, 2, and 2.2 installed on my RH7.3 system. But "python" is a
> cp of "python1.5".
> 
> And it does not matter that you build with the correct version (i.e.
> python2.2 setup.py build).
> 
> So the trick is to rename your current distribution (in my case "python2.2"
> a.k.a "python2.2.1") to "python". And it all comes together.
> 
> Thanks for all of your help.
> Regards,
> 
> Andy
> 
> 
> -----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
>    http://www.newsfeed.com       The #1 Newsgroup Service in the World!
> -----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----
> -- 
> http://mail.python.org/mailman/listinfo/python-list
-- 
VB programmers ask why no one takes them seriously, 
it's somewhat akin to a McDonalds manager asking employee's 
why they don't take thier 'career' seriously.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 240 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/python-list/attachments/20021009/576441d2/attachment.sig>


More information about the Python-list mailing list