事象 下記の通り2行目の処理でセグメンテーションエラーとなる。 $ python Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> str1 = 'hello.doc' >>> print str1 Segmentation fault: 11 発生環境 Mac OS 10.9.4 (Mavericks), Python 2.7.2 以下の通り、readline.so を readline.so.disabled にリネームする。 $ which python /Libr
![Python: MacのインタプリタでのSegmentation fault: 11エラーの解決策](https://cdn-ak-scissors.b.st-hatena.com/image/square/252c967a24c40bf8f7a03dee6705872ef2f3bb44/height=288;version=1;width=512/https%3A%2F%2Fyukun.info%2Fwp-content%2Fuploads%2F2013%2F08%2Fpython_unix_char_code.png)