[issue15076] Sometimes couldn't import os, shown 'import site' failed, use -v for trackback

2012-06-20 Thread Leon Zhang
Leon Zhang added the comment: Thank ramchandra.apte for the help. I checked linecache.py, and the file exists. Unfortunately I don't have root perssion to re-install Python. I also checked another bug "http://bugs.python.org/issue10496";, I think that may be the truth.

[issue15076] Sometimes couldn't import os, shown 'import site' failed, use -v for trackback

2012-06-19 Thread Leon Zhang
Leon Zhang added the comment: No people help me. -- ___ Python tracker <http://bugs.python.org/issue15076> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15076] Sometimes couldn't import os, shown 'import site' failed, use -v for trackback

2012-06-19 Thread Leon Zhang
Changes by Leon Zhang : Removed file: http://bugs.python.org/file26015/pygen.py ___ Python tracker <http://bugs.python.org/issue15076> ___ ___ Python-bugs-list mailin

[issue15076] Sometimes couldn't import os, shown 'import site' failed, use -v for trackback

2012-06-15 Thread Leon Zhang
New submission from Leon Zhang : Hello Experts, I am using Python 2.6.2 on a Linux machine. I found sometimes I have problem to run my simple python script. > Linux version and Python version < leonz@fxcsgbu2c1% uname -a SunOS fxcsgbu2c1 5.8 Generic_117350-06 sun4u spar