Re: Yum Woes with Python(Solved)

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

 



Michael Schwendt wrote:
On Thu, 06 Nov 2008 08:30:26 -0600, Seann Clark wrote:

  python -v -c 'import logging.config' &> output.txt

Here is the output of the command :
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/lib64/python2.5/site.pyc matches /usr/lib64/python2.5/site.py
import site # precompiled from /usr/lib64/python2.5/site.pyc
# /usr/lib64/python2.5/os.pyc matches /usr/lib64/python2.5/os.py
import os # precompiled from /usr/lib64/python2.5/os.pyc
import posix # builtin
# /usr/lib64/python2.5/posixpath.pyc matches /usr/lib64/python2.5/posixpath.py
import posixpath # precompiled from /usr/lib64/python2.5/posixpath.pyc
# /usr/lib64/python2.5/stat.pyc matches /usr/lib64/python2.5/stat.py
import stat # precompiled from /usr/lib64/python2.5/stat.pyc
# /usr/lib64/python2.5/UserDict.pyc matches /usr/lib64/python2.5/UserDict.py
import UserDict # precompiled from /usr/lib64/python2.5/UserDict.pyc
# /usr/lib64/python2.5/copy_reg.pyc matches /usr/lib64/python2.5/copy_reg.py
import copy_reg # precompiled from /usr/lib64/python2.5/copy_reg.pyc
# /usr/lib64/python2.5/types.pyc matches /usr/lib64/python2.5/types.py
import types # precompiled from /usr/lib64/python2.5/types.pyc
import _types # builtin
# /usr/lib64/python2.5/new.pyc matches /usr/lib64/python2.5/new.py
import new # precompiled from /usr/lib64/python2.5/new.pyc
# /usr/lib64/python2.5/warnings.pyc matches /usr/lib64/python2.5/warnings.py
import warnings # precompiled from /usr/lib64/python2.5/warnings.pyc
# /usr/lib64/python2.5/linecache.pyc matches /usr/lib64/python2.5/linecache.py
import linecache # precompiled from /usr/lib64/python2.5/linecache.pyc
import encodings # directory /usr/lib64/python2.5/encodings
# /usr/lib64/python2.5/encodings/__init__.pyc matches /usr/lib64/python2.5/encodings/__init__.py import encodings # precompiled from /usr/lib64/python2.5/encodings/__init__.pyc
# /usr/lib64/python2.5/codecs.pyc matches /usr/lib64/python2.5/codecs.py
import codecs # precompiled from /usr/lib64/python2.5/codecs.pyc
import _codecs # builtin
# /usr/lib64/python2.5/encodings/aliases.pyc matches /usr/lib64/python2.5/encodings/aliases.py import encodings.aliases # precompiled from /usr/lib64/python2.5/encodings/aliases.pyc # /usr/lib64/python2.5/encodings/utf_8.pyc matches /usr/lib64/python2.5/encodings/utf_8.py import encodings.utf_8 # precompiled from /usr/lib64/python2.5/encodings/utf_8.pyc
Python 2.5.1 (r251:54863, Jun 15 2008, 18:24:56)
[GCC 4.3.0 20080428 (Red Hat 4.3.0-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
# /usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/logging.pyc matches /usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/logging.py import logging # precompiled from /usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/logging.pyc

Bzzzz!

With the sys.path details you've given earlier in reply to Jeff,
the reason for your problem now is obvious, isn't it?

Oy, I just noticed that as well. Seems to be simple to take care of. I just backed up the /usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg directory, and then removed it. Low, and behold, Yum works and so does everything else. This has been a good learning step for me in what prolly is basic python paths.


Thanks for your help everyone!

Seann

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
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