LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 04-08-2005, 11:13 AM   #1
Daenris
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/yummain.py", 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, 11:31 AM   #2
Daenris
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...
 
  


Reply


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 08:02 PM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 03:34 AM
python problem tehnick Linux - Newbie 1 03-26-2005 09:27 AM
Fedora + yum - rpm-python = :( BrokenBrick Linux - Software 1 03-11-2005 09:41 PM
Python problem cdk Linux - General 1 11-06-2004 10:43 PM


All times are GMT -5. The time now is 03:55 PM.

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