Skip to main content

venv

Install pre-reqs

sudo apt install python3.11-venv

Setup the virtual environment

python3 -m venv venv
source venv/bin/activate

Install pipx (if necessary)

pip install pipx

Install your tools

And then if you want to install something like impacket, go to that directory and:

python3 -m pipx install impacket

Throw the venv away when done (optional)

When you're ready to throw that env away:

deactivate
rm -rf venv