Re: Yum and Python... something is broke

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

 



On Tue, 2006-07-18 at 23:40 -0400, Poohba wrote:
> [23:31:53 root@downloads]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.

Hmm,

> It's possible that the above module doesn't match the
> current version of Python, which is:
> 2.3.5 (#1, Aug 25 2005, 09:17:42)
> [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)]

So you have python 2.3.5...

> If you cannot solve this problem yourself, please go to
> the yum faq at:
>   http://wiki.linux.duke.edu/YumFaq
> 
> 
> [23:31:55 root@downloads]python
> Python 2.0.1 (#1, Jul 12 2006, 18:03:04)
> [GCC 3.4.4 20050721 (Red Hat 3.4.4-2)] on linux2
> Type "copyright", "credits" or "license" for more information.

But this is python 2.0.1...

> >>> import yum
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named yum
> 
> [23:32:55 root@downloads]rpm -q python
> python-2.4.3-8.FC5
> 
> [22:44:06 root@i386]rpm -q python-devel
> package python-devel is not installed
> 
> 
> Yum is not the only one that has the problem.

You seem to have multiple versions of python installed. Make sure your
PATH setting is appropriate for the version of python needed by the
applicatins you are trying to run.

Paul.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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