Python 2.7 segfaults on 'import site'

Irmen de Jong irmen.NOSPAM at xs4all.nl
Mon Dec 29 11:05:11 EST 2014


On 29-12-2014 15:33, Chris Angelico wrote:

> So clearly an empty 'site' can be imported safely, but running Python
> without -S segfaults.
> 
> Can anyone advise as to where I should look for the cause of the trouble?
> 
> ChrisA

Perhaps starting python with -v provides some more info on when exactly it is crashing
during the startup process. (i.e. is it really site.py that crashes it?)

Irmen






More information about the Python-list mailing list