p0dalirius / Coercer

A python script to automatically coerce a Windows server to authenticate on an arbitrary machine through 12 methods.
https://podalirius.net/
GNU General Public License v2.0
1.81k stars 182 forks source link

Upgrade to Python 3.12.1 #73

Closed sec13b closed 11 months ago

sec13b commented 11 months ago
┌──(kali㉿kali)-[~]
└─$ python -V                                              
Python 3.12.1                                                                                                                                                   
┌──(kali㉿kali)-[~/Coercer]
└─$ pip3 install -r requirements.txt
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-Debian-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 python3-full installed.

    If you wish to install a non-Debian 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.

    See /usr/share/doc/python3.12/README.venv for more information.

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.
p0dalirius commented 11 months ago

Hi,

As written in your python error, you need to add a flag --break-system-packages to your command, or use a virtual env. It becomes pip3 install -r requirements.txt --break-system-packages

This is related to python but not specifically to Coercer.

Best regards,

sec13b commented 11 months ago

thank you