[Python-bugs-list] [ python-Bugs-442724 ] Setting PYTHONHOME= breaks setup.py
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 19 Jul 2001 05:29:52 -0700
Bugs item #442724, was opened at 2001-07-19 05:29
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=442724&group_id=5470
Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin v. Löwis (loewis)
Assigned to: Thomas Wouters (twouters)
Summary: Setting PYTHONHOME= breaks setup.py
Initial Comment:
On UnixWare, the Makefile now invokes
PYTHONPATH= PYTHONHOME= PYTHONSTARTUP= ./python
setup.py build
This gives the error
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "setup.py", line 6, in ?
import sys, os, getopt
ImportError: No module named os
The problem is that it only looks in . and
lib/python2.2/*, not in Lib.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=442724&group_id=5470