[MacPorts] #64707: py39-tkinter: _tkinter.TclError: no display name and no $DISPLAY environment variable

MacPorts noreply at macports.org
Mon Feb 21 20:42:35 UTC 2022


#64707: py39-tkinter: _tkinter.TclError: no display name and no $DISPLAY
environment variable
------------------------------+--------------------
  Reporter:  programmingkidx  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  py-tkinter       |
------------------------------+--------------------

Comment (by ned-deily):

 Or you could install `tk` using the `quartz` variant which does not use
 X11 at all.


 {{{
 port install tk +quartz

 }}}

 Side question: is there a reason that the default MacPorts `tk` variant is
 `x11`? The `quartz` variant has been standard on macOS for years and the
 `x11` version is barely usable on macOS with its many quirks. I would
 think very few users would really want the `x11` version and, even if they
 do, it's very easy for them to build it from source with `port`.

-- 
Ticket URL: <https://trac.macports.org/ticket/64707#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list