Python without X11?

Henry S. Thompson
Tue Apr 5 13:17:32 GMT 2022

test test via Cygwin writes:

> I was wondering if it is possible to compile Python so that it would
> not use X11 at all? I have a small program that uses tkinter but
> would like to run it without having a dependency to X11. I have
> managed to compile Tcl/Tk that doesn't need X server but how to
> manage the same with Python?

May not be quite what you want, but I have a Windows Python2.7 plus
Windows Tkinter/tcl/tk application that still works just fine.  You
could try installing a Windows Python 3 and Tkinter/tcl/tk, assuming
there is such a thing...

       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail:
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

More information about the Cygwin mailing list