IDLE crash when opening on Mac OS X(在 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 崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Mac OS X 上打开时 IDLE 崩溃
基础教程推荐
- 何时使用 os.name、sys.platform 或 platform.system? 2022-01-01
- Python kivy 入口点 inflateRest2 无法定位 libpng16-16.dll 2022-01-01
- Dask.array.套用_沿_轴:由于额外的元素([1]),使用dask.array的每一行作为另一个函数的输入失败 2022-01-01
- 如何让 python 脚本监听来自另一个脚本的输入 2022-01-01
- 使用PyInstaller后在Windows中打开可执行文件时出错 2022-01-01
- 如何在海运重新绘制中自定义标题和y标签 2022-01-01
- 在 Python 中,如果我在一个“with"中返回.块,文件还会关闭吗? 2022-01-01
- 用于分类数据的跳跃记号标签 2022-01-01
- 筛选NumPy数组 2022-01-01
- 线程时出现 msgbox 错误,GUI 块 2022-01-01