Problems compiling/installing 2.1 on Linux

Kalle Svensson kalle at gnupung.net
Sun May 6 18:36:06 EDT 2001


Sez Johann Spies:
> I get the following error message after ./configure;make on a Debian
> Potato System on which I have Python 1.5.2 installed:
> ----------------------------------------------
> PYTHONPATH= ./python ./setup.py build
> '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
> ---------------------------------------------
> 
> Can somebody help me to correct this please?

This problem occurs when the environment variable PYTHONHOME is set.
Check http://groups.google.com/groups?ic=1&th=7aeb0b4f68d72a9d,9

Peace,
  Kalle
-- 
Email: kalle at gnupung.net     | You can tune a filesystem, but you
Web: http://www.gnupung.net/ | can't tune a fish. -- man tunefs(8)
PGP fingerprint: 0C56 B171 8159 327F 1824 F5DE 74D7 80D7 BF3B B1DD
 [ Not signed due to lossage.  Blame Microsoft Outlook Express. ]




More information about the Python-list mailing list