Installing the SafeNetworking Software - PaloAltoNetworks/SafeNetworking GitHub Wiki
NOTE: The following is done in the home directory of the user that is going to run/manage SafeNetworking. All instructions after this step (tuning, configuration, troubleshooting) will refer to the safe-networking-sp directory with an assumption that YOU know where it is.
git clone https://www.github.com/PaloAltoNetworks/safe-networking.git
cd safe-networking
python3.6 -m venv .env
source .env/bin/activate
pip install -r requirements.txt
deactivate