Friday, February 11, 2011

Python Error "Could not find platform independent libraries"

I encountered this error after I configure Python.

Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
ImportError: No module named site

Actually, this error can be eliminated once I did a make install. Sometimes, even we system admin forget the simplest thing to do. Sigh

After you untar the python package, do a
# ./configure
# make 
# make install

No comments: