XAMPP control panel python

Akkana Peck akkana at shallowsky.com
Mon Jul 19 14:44:15 EDT 2021


Mike Easter writes:
> the CP readme says:
> 
> To run the XAMPP Control Panel, you will need:
> 
>      Linux (may work on other OSs)
>      GTK 2.x
>      PyGTK (also known as python-gtk) 2.x
>      XAMPP
> 
> I installed py2 to my Linux Mint Cinnamon 20.2 (off Ub LTS 20.04) but that
> didn't solve the problem w/ running the .py file w/ python2; I got a
> traceback saying there was no gtk module.  The pip I have is for py3. I can
> put the .py file on pastebin if anyone wants.

Unfortunately python-gtk has been dropped from the last few Ubuntu
releases. I assume Mint must have followed suit. Nobody seems to
know why they dropped python-gtk while keeping other python2 packages.

Pip2 wouldn't have helped you; the pip version of python-gtk didn't
build on Linux even back when python2 was still supported.

The place where this gets the most discussion is the GIMP community,
so it may help to add gimp to your web search terms, e.g. search on
    gimp python2 mint ppa
and you'll find lots of discussions on how to get python-gtk.

There are various repositories that still maintain builds of python-gtk:
for instance, see
https://ubuntuhandbook.org/index.php/2020/07/ppa-install-gimp-2-10-20-ubuntu-20-04/
or the python-gtk2_2.24.0-5 packages at
http://mirrors.edge.kernel.org/ubuntu/pool/universe/p/pygtk/

Good luck!

        ...Akkana


More information about the Python-list mailing list