[MacPorts] #55556: IDLE does not start for python27 and python36

MacPorts noreply at macports.org
Wed Dec 20 05:23:04 UTC 2017


#55556: IDLE does not start for python27 and python36
-------------------------------------+-------------------------------------
 Reporter:  robwgla                  |      Owner:
     Type:  defect                   |     Status:  new
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:  2.4.2
 Keywords:  IDLE, python, python27,  |       Port:  py27-tkinter,
  python36                           |  py36-tkinter
-------------------------------------+-------------------------------------
 '''Python istallation without “py36-tkinter”:'''

 {{{
 ** IDLE can't import Tkinter.
 Your Python may not be configured for Tk. **
 }}}


 '''After installation of “py36-tkinter”:'''

 {{{
 $ MacOS/IDLE
 Traceback (most recent call last):
   File "Resources/idlemain.py", line 73, in <module>
     main()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/idlelib/pyshell.py",
 line 1458, in main
     root = Tk(className="Idle")
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tkinter/__init__.py",
 line 2017, in __init__
     self.tk = _tkinter.create(screenName, baseName, className,
 interactive, wantobjects, useTk, sync, use)
 _tkinter.TclError: no display name and no $DISPLAY environment variable
 }}}

 '''System:'''

 macOS 10.13.2 (17C88),
 Xcode 9.2 (9C40b), command line tools installed

 Installation log: ‘macports_installation_log.txt’,
 list of installed ports: ‘macports_list_installed.txt’

--
Ticket URL: <https://trac.macports.org/ticket/55556>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list