Welcome to the most active Linux Forum on the web.
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 02-16-2004, 05:40 AM   #1
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Rep: Reputation: 30
python errors

When I type 'python' from the command line, I am getting the following error, and information :

Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Python 2.3 (#2, Aug 31 2003, 17:27:29)
[GCC 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk)] on linux2
How do I set my pythonhome enviroment variable, and where should I set it to? I am using fedora core 1, I havnt a clue why it says mandrake linux in the python message...

many thanks in advance.
Old 02-16-2004, 06:00 AM   #2
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Could you have installed python from some non-Red Hat source or package, which is conflicting with a pre-existing RH python config? If that's the case there is probably more to fix than the environment variable.


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
python errors coffeedemon Linux - Newbie 2 05-07-2006 03:18 PM
KDE3.5 Upgrade kdebindings-python dependency errors EclipseAgent SUSE / openSUSE 26 12-27-2005 09:46 AM
Python Errors - Ipodder snowman156 Slackware 3 12-09-2004 09:47 PM
make compile errors -- python problems??? p_motch Linux - Newbie 2 07-11-2004 07:37 PM
Bittorrent: python errors davoman Linux - Software 2 04-16-2004 02:45 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:51 AM.

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