Mailing List Archive

XAMPP control panel python
I don't do any programming, including python. I've encountered a python
situation which I'm wondering would be a huge task to remedy or not.

XAMPP is a package of programs which is installed to linux w/ an install
.run file from apache friends. There is an associated
xampp-control-panel.py file which is apparently derived from an
xampp-control-panel.glade file, both in the opt/lampp/
share/xampp-control-panel dir. Apparently this CP feature of xampp is
not maintained (files dated 2009) and the 2009 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.

Apparently the Win v. of xampp has a CP based on Delphi someone said, so
that one is being maintained.


--
Mike Easter
--
https://mail.python.org/mailman/listinfo/python-list
Re: XAMPP control panel python [ In reply to ]
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
--
https://mail.python.org/mailman/listinfo/python-list