[Python] Issue with impacket & python

Discussão em 'Python' iniciado por Stack, Março 15, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to run a script written in Python and the console is telling me this:

    Install the following library to make this script work
    Impacket : https://github.com/CoreSecurity/impacket.git
    PyCrypto : https://pypi.python.org/pypi/pycrypto


    The problem is that I have already installed those Python packages in Python 3, so when I make a request via pip for those packages, I receive this:

    Requirement already satisfied: impacket in /usr/local/lib/python3.8/dist-packages (0.9.17)
    Requirement already satisfied: ldap3>=2.5.0 in /usr/lib/python3/dist-packages (from impacket) (2.7)
    Requirement already satisfied: six in /usr/lib/python3/dist-packages (from impacket) (1.15.0)


    Hid the rest of the lines but the idea is that. I understand that the package is already installed in my system, but I cannot use those with Python 2.7.

    Any idea how to solve this?

    Continue reading...

Compartilhe esta Página