Re: no module named yum

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

 



cache2 wrote:
Hi. I'm pretty new to this thing, so any help is appreciated! I have got yum working well before, but today it suddenly failed me. I'm guessing something is wrong with yum/python.. here is the error message when I type yum on my terminal:

______________________________
Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
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

Yikes, hopefully rpm is still happy, Can you verify the yum packages:
# rpm -V yum* rpm* python*

and try to import the yum module into python:
$ python
Python 2.5 (r25:51908, Apr 10 2007, 10:29:13)
[GCC 4.1.2 20070403 (Red Hat 4.1.2-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import yum
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>>

Also, what is the command you are trying - try with -d 10 to enable the debug text.

DaveT.


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

  Powered by Linux