Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-08-2005, 10:13 AM   #1
LQ Newbie
Registered: Mar 2005
Location: Chicago
Distribution: FC3
Posts: 9

Rep: Reputation: 0
Problem with Python? Yum?

Okay, so within the past week or so yum has stopped working on my Fedora Core 3 box at work. The weird thing is that the other box with the same configuration/updates works fine.

The error I get from yum is:

'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/usr/bin/yum", line 6, in ?
import yummain
File "/usr/share/yum-cli/", line 18, in ?
import os
ImportError: No module named os

no matter what options I give it. I'm not sure if it's a yum problem or a python problem, because if I just run python on that machine I get:

'import site' failed; use -v for traceback

but then I get the python prompt and it seems to work.

I'm running kernel 2.6.10-1.770_FC3smp on both systems.
Version 2.2.0 of yum on both
and 2.3.4-13.1 of python on both.

Any ideas?
Old 04-08-2005, 10:31 AM   #2
LQ Newbie
Registered: Mar 2005
Location: Chicago
Distribution: FC3
Posts: 9

Original Poster
Rep: Reputation: 0
okay... I'm an idiot...

the installation instructions for a piece of software I installed a week or so ago added
setenv PYTHONHOME /someotherdirectory
in my .tcshrc file...

removing that and yum works fine now...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Processing Conflict: python-devel conflicts python< 2.3.4-13.1 guarriman Fedora 2 04-23-2009 07:02 PM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
python problem tehnick Linux - Newbie 1 03-26-2005 08:27 AM
Fedora + yum - rpm-python = :( BrokenBrick Linux - Software 1 03-11-2005 08:41 PM
Python problem cdk Linux - General 1 11-06-2004 09:43 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration