事象 下記の通り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