Re: Yum Woes with Python

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

 



On Wed, Nov 5, 2008 at 12:22 PM, Seann Clark
> Wed Nov 05-15:08:28-root@haruhi:snmp> rpm -q yum
> yum-3.2.19-3.fc9.noarch
> Wed Nov 05-15:16:26-root@haruhi:snmp> rpm -V yum
> Wed Nov 05-15:16:36-root@haruhi:snmp> rpm -ql yum |grep config
> /usr/lib/python2.5/site-packages/yum/config.py
> /usr/lib/python2.5/site-packages/yum/config.pyc
> /usr/lib/python2.5/site-packages/yum/config.pyo


Okay lets check your python module path

start python
>>>import sys
>>>print sys.path

Crtrl-D to leave the python environment

The filesystem location /usr/lib/python2.5/site-packages/
should be in the output of print sys,path.

If it isn't that's the underlying problem.

If it is in the path start python and try to import yum

That should produce a useful python traceback, since the ImportError
exception producing the fancy error is at the beginning of the
/usr/bin/yum executable script

I bare  import yum command will throw an exception and python will
produce a full traceback for us to look at.

-jef

-- 
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux