[MacPorts] #42191: python27 @ 2.7.6 IDLE fails to run
MacPorts
noreply at macports.org
Sun Jan 19 06:52:43 PST 2014
#42191: python27 @ 2.7.6 IDLE fails to run
----------------------------------------+--------------------------------
Reporter: LenoreHorner@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: missing tkinter dependency | Port: python27
----------------------------------------+--------------------------------
OS X 10.9.1
Macports 2.2.1
Xcode 5.0.2
IDLE requires py27-tkinter
{{{
/Applications/MacPorts/Python\ 2.7/IDLE.app/Contents/MacOS/IDLE ; exit;
Traceback (most recent call last):
File "/Applications/MacPorts/Python
2.7/IDLE.app/Contents/Resources/idlemain.py", line 71, in <module>
from idlelib import macosxSupport
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/idlelib/macosxSupport.py",
line 6, in <module>
import Tkinter
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/lib-tk/Tkinter.py", line 39, in <module>
import _tkinter # If this fails your Python may not be configured for
Tk
ImportError: No module named _tkinter
logout
}}}
BUT py27-tkinter requires python27
{{{
port info py27-tkinter
py27-tkinter @2.7.6 (python, graphics)
Variants: universal
Description: Python bindings to the Tk widget set
Homepage:
http://docs.python.org/release/2.7.6/library/tkinter.html
Extract Dependencies: xz
Library Dependencies: python27, tk
Platforms: darwin
License: PSF
Maintainers: jwa at macports.org, openmaintainer at macports.org
}}}
I think this means IDLE needs to be split out as a separate port so that
one installs python27, then py-tkinter, then IDLE
--
Ticket URL: <https://trac.macports.org/ticket/42191>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list