XAMPP control panel python
Posted: 18. July 2021 17:12
I don't usually post in web forums, so please excuse any of my slipups. I usually use newsgroups.
Problem: from the xampp CP readme:
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
Setup: My target goal is to make a WordPress on a stick where the underlying OS is Linux Mint Cinnamon 20.2 (which is based on Ub 20.04 LTS ie Focal Fossa repo/s) running live w/ persistence USB created by mkusb. I have only gotten as far as installing XAMPP 8.0.8 using the apachefriends .run file, but I haven't yet installed the bitnami WP module .run because my xampp isn't perfectly operational. After I get this xampp situation corrected, I will also establish proper credentials for user & admin which are missing in the default persistent live.
I can use the xampp to stop and start the 3 servers apache, mysql, & ftp; and I can start the xampp manager whose titlebar is xampp 8.0.8-0, but its Get Started button doesn't do anything. I can't access the control-panel CP. If I try to use the command line on xampp-control-panel.py, I get a python error.
Since the CP seems to need py2, I installed that, but its gtk module is missing.
$ python2 xampp-control-panel.py
Traceback (most recent call last):
File "xampp-control-panel.py", line 18, in <module>
import gtk
ImportError: No module named gtk
$ pip --version
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.
$ python3 --version
Python 3.8.10
$ python2 --version
Python 2.7.18
It seems to me that xampp is 'designed' to be a py2 operation, not py3. I don't have the experience to deal w/ environment issues. I don't think using the pip3 is to install a gtk module in py3 is going to help my py2 gtk problem which must be the missing PyGTK (also known as python-gtk) 2.x
Problem: from the xampp CP readme:
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
Setup: My target goal is to make a WordPress on a stick where the underlying OS is Linux Mint Cinnamon 20.2 (which is based on Ub 20.04 LTS ie Focal Fossa repo/s) running live w/ persistence USB created by mkusb. I have only gotten as far as installing XAMPP 8.0.8 using the apachefriends .run file, but I haven't yet installed the bitnami WP module .run because my xampp isn't perfectly operational. After I get this xampp situation corrected, I will also establish proper credentials for user & admin which are missing in the default persistent live.
I can use the xampp to stop and start the 3 servers apache, mysql, & ftp; and I can start the xampp manager whose titlebar is xampp 8.0.8-0, but its Get Started button doesn't do anything. I can't access the control-panel CP. If I try to use the command line on xampp-control-panel.py, I get a python error.
Since the CP seems to need py2, I installed that, but its gtk module is missing.
$ python2 xampp-control-panel.py
Traceback (most recent call last):
File "xampp-control-panel.py", line 18, in <module>
import gtk
ImportError: No module named gtk
$ pip --version
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.
$ python3 --version
Python 3.8.10
$ python2 --version
Python 2.7.18
It seems to me that xampp is 'designed' to be a py2 operation, not py3. I don't have the experience to deal w/ environment issues. I don't think using the pip3 is to install a gtk module in py3 is going to help my py2 gtk problem which must be the missing PyGTK (also known as python-gtk) 2.x