python error with yum on F11
Tony Nelson
tonynelson at georgeanelson.com
Tue Oct 20 05:36:20 UTC 2009
On 09-10-20 01:17:45, steve wrote:
> Hello Mark,
>
> On 10/20/2009 06:48 AM, Mark Perew wrote:
> >
> > Popen is supposed to be provided by subprocess.py, and I've
> > confirmed that class Popen is in the /usr/lib/python2.6/
> > subprocess.py module. I don't see anything helpful on the website
> > above, or in a google search, or in pinging a few helpful
> > associates. Any guidance from this community will be appreciated.
> >
> I think you might have (possibly inadvertently) messed up your python
> installation.
>
> Check the following:
> $ python --version # should show you Python 2.6
> $ python -c "import sys; print sys.path"
> # This should show you the places that python would look for
> modules such as Popen. It ideally should include '/usr/lib/
> python2.6/' (and '/usr/lib64/python26 if you have a x86_64 box).
>
> $ echo $PYTHONPATH
> # This env variable is passed to python to modify the sys.path
> (mentioned above) at runtime. This should ideally not exist if you
> don't do any python development yourself.
>
> Let us know what you find,
If the above seem OK, then:
rpm -q python yum # should be python-2.6-xxx, yum-3.2.xxx
rpm -V python # should produce no output
rpm -V yum # should produce no output or only /etc/yum.conf
--
____________________________________________________________________
TonyN.:' <mailto:tonynelson at georgeanelson.com>
' <http://www.georgeanelson.com/>
More information about the fedora-list
mailing list