Segmentation fault: 11 in OS X

前端 未结 4 559
我寻月下人不归
我寻月下人不归 2020-11-27 15:03

I am getting an issue in Python 3.3.2 on OSX 10.9 where if I open Python in a terminal window, it exits with \"Segmentation error: 11\" after the second line I enter, regard

4条回答
  •  误落风尘
    2020-11-27 15:58

    I had this problem after upgrading to OS X 10.9 and used the patch provided on the Python website: http://bugs.python.org/issue18458#msg201087

    To use it, open a terminal session in Terminal.app (or other shell), then enter:

    curl -O http://bugs.python.org/file32324/patch_readline_issue_18458.sh
    openssl sha1 patch_readline_issue_18458.sh
    # the digest should be 7cb0ff57820a027dd4ca242eb2418930f8f46b4c
    

    then
    sh ./patch_readline_issue_18458.sh

    Enter your password, if prompted

提交回复
热议问题