Re: python error with yum on F11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux