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

2012-11-03 Thread A.M. Kuchling
A.M. Kuchling added the comment: Installation bug; nothing to fix. -- nosy: +akuchling resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15076 ___

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

2012-06-20 Thread Leon Zhang
Changes by Leon Zhang leozh...@cisco.com: Removed file: http://bugs.python.org/file26015/pygen.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15076 ___

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

2012-06-20 Thread Leon Zhang
Leon Zhang leozh...@cisco.com added the comment: No people help me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15076 ___ ___

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

2012-06-20 Thread Ramchandra Apte
Ramchandra Apte maniandra...@gmail.com added the comment: Well, Python is not able import the linecache module because the file is missing. Check if a file called linecache.py is there in /usr/lib/python2.6 or /usr/local/lib/python2.6 By the way, the python bug tracker doesn't have much

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

2012-06-20 Thread Ramchandra Apte
Ramchandra Apte maniandra...@gmail.com added the comment: Try reinstalling Python and see if it works. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15076 ___

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

2012-06-20 Thread Leon Zhang
Leon Zhang leozh...@cisco.com 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-15 Thread Leon Zhang
New submission from Leon Zhang leozh...@cisco.com: 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