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

后端 未结 3 1491
悲哀的现实
悲哀的现实 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条回答
  •  鱼传尺愫
    2021-01-29 16:58

    Update for Kali 2020v4 to solve that issue:

    Run

    sudo bash 
    apt-get update 
    apt-get upgrade
    

    To clear any existing installation run:

    apt remove zenmap
    

    Then

    apt-get install python-cairo  
    
    apt --fix-broken install
    
    apt-get install python-gobject-2
    
    apt --fix-broken install
    
    dpkg -i python-gtk2_2.24.0-5.1ubuntu2_amd64.deb 
    
    dpkg -i zenmap_7.80-2_all.deb
    

    Resources:

    http://us.archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/

    To Install ZenMap for kali

    1. Update the repos: sudo apt update

    2. Download latest package of zenmap, e.g. wget https://nmap.org/dist/zenmap-7.80- 1.noarch.rpm

    3. Install alien: sudo apt install alien -y

    4. Convert pack to deb Sintaxis: sudo alien [RPM downloaded]

    5. Install Sintaxis: sudo dpkg -i [DEB generated]

提交回复
热议问题