Step 1 :
sudo apt install g++ python-pip libyaml-dev python-dev libncurses5 libncurses5-dev
mkdir infosec
git clone https://github.com/epinna/weevely3.git
cd weevely3
pip install -r requirements.txt --upgrade
Step 2 :
cd ~/infosec/weevely3
python weevely3.py -h
Update and Upgrade
sudo apt update
sudo apt dist-upgrade
cd ~/infosec/weevely3
git pull origin master
pip install -r requirements.txt --upgrade
Reference
Documentation
That's all! See you.