building python 2.0 problem!!! Help anyone!!!

etsang at my-deja.com etsang at my-deja.com
Thu Dec 7 14:04:41 EST 2000


Hi, when I build Python-2.0.
I enountered the follinw problems:

after building python 2.0, when I first run it, I found I cannot import
any of the standrad modules like sys, string, os etc..

I found out from the FAQ that there is a work around in assocaited
PYTHONPATH with the full path of Lib that solves the problem. however,
when I bring up the new python and print out the sys.path, they give me
wrong paths!
Steps done:
import sys
print sys.path
It prints out path containing lib, there is no lib but Lib in python
distribution.
Even after I changed the lib to Lib in variables LIBDIR and SCRIPDIR of
the Makefile in top direcotry, they still show lib is present.
My question where can I make sys.path pointing to the correct paths?


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list