Python 3.0-空闲状态不会打开.它只是在码头弹跳 [英] Python 3.0 - Idle wont open. It just bounces in the dock

查看:96
本文介绍了Python 3.0-空闲状态不会打开.它只是在码头弹跳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Python/Unix新手.在Mac OSX上.

Python/Unix noob. On Mac OSX.

与Python闲置应用一起运行了Python 2.7.2数周.没问题.

Been running Python 2.7.2 for a few weeks, along with Idle app. No problems.

今天,我刚刚在2.7端安装了Python3.0-对其进行了测试,并且仍然可以通过Terminal运行.

Today I just installed Python3.0 along side 2.7 - tested both and can still be ran via Terminal.

现在,当我打开Idle for 2.7时,它就可以正常打开了.但是,当我在Python3.0文件夹中打开新的Idle应用程序时,该应用程序只会在文档中弹跳,而永远不会打开.

Now when I open Idle for 2.7, it opens just fine. But when I open the new Idle app within the Python3.0 folder, the app just bounces in the doc and never opens.

控制台错误如下:

12/2/11 11:57:13.612 PM com.apple.launchd.peruser.501: 
([0x0-0x38038].org.python.IDLE[313]) 
posix_spawn("/Applications/Python-3.0/Mac/IDLE/IDLE.app/Contents/MacOS/IDLE", ...): 
No such file or directory

如何让Idle为Python3.0打开?

How do I get Idle to open for Python3.0?

推荐答案

请勿使用Python 3.0. Python 3的初始版本在某种程度上是试验性的,并且在以后的版本中已解决了许多严重的问题.已解决的问题包括您看到的一个问题,我相信它已被问题5196 涵盖. Python 3的当前版本是3.2.2,并且被认为可以投入生产.您可以在此处找到适用于Mac OS X的安装程序.根据要运行的OS X版本,有两个安装程序.如果在OS X 10.6(Snow Leopard)或10.7(Lion)上,请特别注意以下注意事项此处关于还安装要使用的当前版本的ActiveState Tcl/Tk,而不是由Apple在这些系统中提供的有故障的Tcl/Tk 8.5.

Do not use Python 3.0. The initial releases of Python 3 were somewhat experimental and had a number of serious problems that have been fixed in subsequent releases. The fixed problems include the one you're seeing which I believe was covered by Issue5196. The current release of Python 3 is 3.2.2 and is considered production-ready. You can find installers for Mac OS X here. There are two installers depending on which version of OS X you are running. If on OS X 10.6 (Snow Leopard) or 10.7 (Lion), pay particular attention to the cautions here about also installing the current version of ActiveState Tcl/Tk to be used instead of the buggy Tcl/Tk 8.5 shipped by Apple in those systems.

这篇关于Python 3.0-空闲状态不会打开.它只是在码头弹跳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆