在 Mac OS X 上打开时 IDLE 崩溃

IDLE crash when opening on Mac OS X(在 Mac OS X 上打开时 IDLE 崩溃)
本文介绍了在 Mac OS X 上打开时 IDLE 崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我最近尝试在我的 macbook pro 上安装 python 3.2 和 IDLE 3.我成功安装了 python 3.2(如,我可以从终端运行它),但是当我尝试安装 IDLE 3.2 时,我一定做错了,因为现在 IDLE 2.7 和 IDLE 3.2 在打开时立即崩溃并显示消息Python 退出意外",无论我是通过终端还是通过查找器打开它.有谁知道如何解决这一问题?我已经安装了正确的 ActiveTCL 包(并重新安装),但仍然没有.我试图重新安装 python 3.2 和 IDLE 3,但我不确定我是否正确安装.通过大量的谷歌搜索,我发现有些人说这很可能是路径问题,但我发现的所有解决方案都是使用 Windows,所以我不知道如何将它应用到我的 mac.

I recently attempted to install python 3.2 along with IDLE 3 on my macbook pro. I successfully installed python 3.2 (as in, I can run it from the terminal), but when I attempted to install IDLE 3.2 I must have done something wrong because now both IDLE 2.7 and IDLE 3.2 crash immediately upon opening with the message "Python quit unexpectedly", no matter whether I open it through the terminal or through finder. Does anyone know how to fix this? I have installed the correct ActiveTCL package (and reinstalled) and still nothing. I have attempted to reinstall python 3.2 and IDLE 3 but I am not sure whether I did it correctly. Through a good amount of googling I found some people say that it was most likely a path issue but all of the solutions I found were using Windows so I am not sure how to apply that to my mac.

推荐答案

我也遇到了同样的问题.我运行 OSX 10.8.5、Python 3.3.3 和 IDLE 3.3.3 并且重新安装 Python 不是解决方案.我解决了删除 ~/.idlerc 目录的任何问题.当我尝试更改某些首选项(IDLE->首选项->常规->启动首选项->在启动时打开编辑窗口)时,我的问题第一次出现,所以我想这就是为什么重置我的首选项删除 ~/.idlerc 文件夹是解决方案.

I had the same issue. I run OSX 10.8.5, Python 3.3.3 and IDLE 3.3.3 and reinstalling Python haven't been a solution. I solved any problem removing the ~/.idlerc directory. My problem showed for the first time when I tried to change some Preferences (IDLE->Preferences->General->Startup Preferences->At Startup Open Edit Window), so I suppose that's why resetting my Preferences deleting ~/.idlerc folder have been the solution.

这篇关于在 Mac OS X 上打开时 IDLE 崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

Why does Python#39;s IDLE crash when I type a parenthesis on Mac?(为什么我在 Mac 上键入括号时 Python 的 IDLE 会崩溃?)
Tkinter crashes Jupyter kernel?(Tkinter 崩溃 Jupyter 内核?)
GVIM crashes when running python(运行 python 时 GVIM 崩溃)
PySide: Segfault(?) when using QItemSelectionModel with QListView(PySide:将 QItemSelectionModel 与 QListView 一起使用时的 Segfault(?))
Why does PyQt sometimes crash on exit?(为什么 PyQt 有时会在退出时崩溃?)
Debugging Python Fatal Error: GC Object already Tracked(调试 Python 致命错误:已跟踪 GC 对象)