From fcbfa6c7206fa8766d38a75dd3f0c8ac3b1148c0 Mon Sep 17 00:00:00 2001 From: Ondrej Fabry Date: Thu, 30 May 2024 12:20:29 +0200 Subject: [PATCH] Install python3-ply Signed-off-by: Ondrej Fabry --- scripts/report.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/report.sh b/scripts/report.sh index e4d0b16..e8a1ebe 100755 --- a/scripts/report.sh +++ b/scripts/report.sh @@ -13,6 +13,16 @@ command -v govpp >/dev/null 2>&1 || { go install go.fd.io/govpp/cmd/govpp@latest } +# Check if python3-ply is installed +python3 -c "import ply" >/dev/null 2>&1 || { + echo "Python3-ply module is not installed. Preparing to install.."; + + sudo apt-get update && sudo apt-get install -y python3-ply +} + +# Confirm python3-ply is installed +python3 -c "import ply" >/dev/null 2>&1 && echo "Python3-ply module installed successfully!" + echo "Using installed GoVPP CLI:" govpp --version