Problems installing Python 2.1.1

Carl Johan Rehn carljohan.rehn at chello.se
Mon Sep 24 15:18:32 EDT 2001


Hi!

I have failed to build Python 2.1.1 and don't know what I am doing wrong? I 
have very limited experience of building libraries and I am also relatively 
new on Linux. I am running SuSE 7.2.

This is what I get after having succesfully run./configure:

linux:/usr/lib/Python-2.1.1 # make
PYTHONPATH= ./python ./setup.py build
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "./setup.py", line 9, in ?
    import sys, os, getopt
ImportError: No module named os
make: *** [sharedmods] Error 1
linux:/usr/lib/Python-2.1.1 #

Can anyone help me with this? /Carl





More information about the Python-list mailing list