Éric Araujo <mer...@netwok.org> added the comment: Adding people from the duplicate report #14238.
Georg said: > there should be a guard here that just doesn't add user site directories if > the lookup fails. I concurred and added: > we also need to fix sysconfig; I think the right thing to do would be not to > have a config var > named 'userbase' when run from a UID without passwd entry. This implies that > the functions > listed under http://docs.python.org/library/sysconfig#installation-paths > would also need to omit > *user schemes. ---------- assignee: tarek -> eric.araujo nosy: +aikinci, arekm, georg.brandl, loewis, nadeem.vawda title: "import site failed" when Python can't find home directory (sysconfig._getuserbase) -> Python startup should not require passwd entry versions: -Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10496> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com