sys.path issue in cygwin

2007-01-24 Thread Wang Shuhao
I successfully built and installed Python 2.2.3 in cygwin. But there is something wrong in the sys.path. I use following statments for a test. >>> import sys >>> print sys.path ['', 'C/lib/python2.2/', 'C/lib/python2.2/plat-cygwin', 'C/lib/python2.2/lib-tk' , '\\Python24/lib/python2.2/lib-dynlo

sys.path issue in cygwin

2007-01-24 Thread Wang Shuhao
I successfully built and installed Python 2.2.3 in cygwin. But there is something wrong in the sys.path. I use following statments for a test. >>> import sys >>> print sys.path ['', 'C/lib/python2.2/', 'C/lib/python2.2/plat-cygwin', 'C/lib/python2.2/lib-tk' , '\\Python24/lib/python2.2/lib-dynload

Re: sys.path issue in cygwin

2007-01-24 Thread Wang Shuhao
ONHOME controls the content of the initial sys.path. put export PYTHONHOME=/usr/local in .bash_profile will fix it. - Original Message - From: "Steve Holden" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 24, 2007 9:42 PM Subject: Re: sys.path issue in cygwin >

Re: sys.path issue in cygwin

2007-01-24 Thread Wang Shuhao
.path become correct. Override the environment variable in Cygwing is also Ok. - Original Message - From: "Jason Tishler" <[EMAIL PROTECTED]> To: "Wang Shuhao" <[EMAIL PROTECTED]> Cc: "Python-List" Sent: Wednesday, January 24, 2007 11:23 PM

Re: how to unistall a Python package?

2007-01-25 Thread Wang Shuhao
Third party packages are put into $PYTHONHOME\Lib\site-packages after been installed, so to uninstall them, just go there and delete the directory contains all files of your package. - Original Message - From: "siggi" <[EMAIL PROTECTED]> Newsgroups: comp.lang.python To: Sent: Thursday