[issue10496] "import site failed" when Python can't find home directory (sysconfig._getuserbase)

2011-04-13 Thread Brian Bi
Brian Bi added the comment: I discovered this while I was implementing and testing a sandbox for automatic evaluation of programs. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10496] "import site failed" when Python can't find home directory

2010-11-21 Thread Brian Bi
Brian Bi added the comment: This bug is Linux-specific. When Python cannot find the home directory of the user invoking it, it prints "'import site' failed; use -v for traceback". This occurs only when both of these conditions are met: 1. /etc/passwd contains no entry

[issue10496] "import site failed" when Python can't find home directory

2010-11-21 Thread Brian Bi
New submission from Brian Bi : This bug is Linux-specific. When Python cannot find the home directory of the user invoking it, it prints "'import site' failed; use -v for traceback". This occurs only when both of these conditions are met: 1. /etc/passwd contains no entry