Python分段错误:在OSX上为11 [英] Python Segmentation fault: 11 on OSX
问题描述
我从python开始开发,并尝试了一些简单的命令,例如计算.
Im starting development with python, and tried some simple commands like calculations.
但是,有时python会由于细分错误:11"而中止 在谷歌我没有找到类似的问题或解决方案.
But, some times python aborts with "Segmentation fault:11" In google i didnt find a similar issue or solution for that.
Python与自制软件一起安装. home-brew doctor命令未显示python安装的任何问题,并且是最新的.
Python is installed with homebrew. home-brew doctor command don't show any issues for the python installation and is up to date.
有谁知道如何解决此问题?
Have anyone an Idea how to fix this ?
这是OSX崩溃日志: http://pastebin.com/rKpPJKxJ
Here is the OSX Crash Log: http://pastebin.com/rKpPJKxJ
推荐答案
嗯...以下内容似乎可以解决此问题:
Hmmm... spread the word. The following seems that it fixed it:
cd /Library/Frameworks/Python.framework/Versions/3.3
cd ./lib/python3.3/lib-dynload
sudo mv readline.so readline.so.disabled
这篇关于Python分段错误:在OSX上为11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!