gagal install dirhunt

Beranda › Forums › Mempelajari Teknik Hacking Tingkat Pemula › gagal install dirhunt

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #255487

    └─$ sudo apt-get install python3-pip
    Reading package lists… Done
    Building dependency tree… Done
    Reading state information… Done
    python3-pip is already the newest version (25.0.1+dfsg-1).
    0 upgraded, 0 newly installed, 0 to remove and 1069 not upgraded.

    ┌──(kali㉿kali)-[~]
    └─$ sudo pip3 install dirhunt
    error: externally-managed-environment

    × This environment is externally managed
    ╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Kali-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have pypy3-venv installed.

    If you wish to install a non-Kali-packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    For more information, refer to the following:
    * https://www.kali.org/docs/general-use/python3-external-packages/
    * /usr/share/doc/python3.13/README.venv

    note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing –break-system-packages.
    hint: See PEP 668 for the detailed specification.

    #255488

    └─$ sudo apt-get install python3-pip
    Reading package lists… Done
    Building dependency tree… Done
    Reading state information… Done
    python3-pip is already the newest version (25.0.1+dfsg-1).
    0 upgraded, 0 newly installed, 0 to remove and 1069 not upgraded.

    ┌──(kali㉿kali)-[~]
    └─$ sudo pip3 install dirhunt
    error: externally-managed-environment

    × This environment is externally managed
    ╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Kali-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have pypy3-venv installed.

    If you wish to install a non-Kali-packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    For more information, refer to the following:
    * https://www.kali.org/docs/general-use/python3-external-packages/
    * /usr/share/doc/python3.13/README.venv

    note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing –break-system-packages.
    hint: See PEP 668 for the detailed specification.

    #255497
    Coach Williams
    Moderator

      ada tulisannya itu tambahin --break-system-packages

      #255504

      ┌──(kali㉿kali)-[~]
      └─$ sudo pip3 install dirhunt –break-system-packages
      Collecting dirhunt
      Downloading dirhunt-1.0.0-py3-none-any.whl.metadata (5.2 kB)
      Requirement already satisfied: beautifulsoup4 in /usr/lib/python3/dist-packages (from dirhunt) (4.13.3)
      Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from dirhunt) (2.32.3)
      Collecting click<8 (from dirhunt)
      Downloading click-7.1.2-py2.py3-none-any.whl.metadata (2.9 kB)
      Requirement already satisfied: humanize in /usr/lib/python3/dist-packages (from dirhunt) (4.11.0)
      Requirement already satisfied: colorama in /usr/lib/python3/dist-packages (from dirhunt) (0.4.6)
      Collecting requests-mock (from dirhunt)
      Downloading requests_mock-1.12.1-py2.py3-none-any.whl.metadata (4.1 kB)
      Collecting google (from dirhunt)
      Downloading google-3.0.0-py2.py3-none-any.whl.metadata (627 bytes)
      Collecting proxy-db (from dirhunt)
      Downloading proxy_db-0.3.1-py2.py3-none-any.whl.metadata (4.9 kB)
      Requirement already satisfied: greenlet>=3.0.0a1 in /usr/lib/python3/dist-packages (from dirhunt) (3.1.0)
      Requirement already satisfied: soupsieve>1.2 in /usr/lib/python3/dist-packages (from beautifulsoup4->dirhunt) (2.6)
      Requirement already satisfied: typing-extensions>=4.0.0 in /usr/lib/python3/dist-packages (from beautifulsoup4->dirhunt) (4.12.2)
      Requirement already satisfied: sqlalchemy in /usr/lib/python3/dist-packages (from proxy-db->dirhunt) (2.0.32)
      Requirement already satisfied: six in /usr/lib/python3/dist-packages (from proxy-db->dirhunt) (1.17.0)
      Requirement already satisfied: charset_normalizer<4,>=2 in /usr/lib/python3/dist-packages (from requests->dirhunt) (3.4.1)
      Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests->dirhunt) (3.10)
      Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/lib/python3/dist-packages (from requests->dirhunt) (2.3.0)
      Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests->dirhunt) (2025.1.31)
      Downloading dirhunt-1.0.0-py3-none-any.whl (49 kB)
      Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
      Downloading google-3.0.0-py2.py3-none-any.whl (45 kB)
      Downloading proxy_db-0.3.1-py2.py3-none-any.whl (21 kB)
      Downloading requests_mock-1.12.1-py2.py3-none-any.whl (27 kB)
      Installing collected packages: click, requests-mock, proxy-db, google, dirhunt
      Attempting uninstall: click
      Found existing installation: click 8.1.8
      error: uninstall-no-record-file

      × Cannot uninstall click 8.1.8
      ╰─> The package’s contents are unknown: no RECORD file was found for click.

      hint: The package was installed by debian. You should check if it can uninstall the package.

      ┌──(kali㉿kali)-[~]
      └─$ dirhunt –help
      dirhunt: command not found

      hasil nya begitu coach, command help nya gak jalan

      #255665
      Coach Williams
      Moderator

        sudo pip3 uninstall click

      Viewing 5 posts - 1 through 5 (of 5 total)
      • You must be logged in to reply to this topic.
      Shopping cart0
      There are no products in the cart!
      Continue shopping