Whet I try to run Zenmap, the terminal show me this

后端 未结 3 1493
悲哀的现实
悲哀的现实 2021-01-29 16:43

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_         


        
3条回答
  •  -上瘾入骨i
    2021-01-29 16:56

    I had the same issue when I tried to install zenmap. I had to install pygtk2/ py gobject-2/python-cairo.

    wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
    wget http://azure.archive.ubuntu.com/ubuntu/pool/universe/p/pygobject-2/python-gobject-2_2.28.6-14ubuntu1_amd64.deb
    wget http://security.ubuntu.com/ubuntu/pool/universe/p/pycairo/python-cairo_1.16.2-2ubuntu2_amd64.deb
    

    Then install them use dpkg -i .

提交回复
热议问题