Could not import the zenmapGUI.App module: 'No module named gtk'. I checked in these directories:
/usr/local/bin
/usr/lib/python2.7
/usr/lib/python2.7/plat-x86_64-linux-gnu
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
If you installed Zenmap in another directory, you may have to add the modules directory to the PYTHONPATH environment variable.
------------------------------------------------resolved--------------------------------------------------------------------
$ mkdir -p ~/Downloads/zenmap
$ cd ~/Downloads/zenmap
$ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb
$ wget http://archive.ubuntu.com/ubuntu/pool/universe/n/nmap/zenmap_7.80+dfsg1-1build1_all.deb
you have to unpackage those 2 /.deb and there you go
Same issue. I notice that in kali 2019-4, in the path
usr/lib/python2.7/dist-packages/gtk-2.0/gtk
there are someinit
files, perhaps they are needed by the zenmap GUI.