Skip to content

Commit

Permalink
Install python3-ply
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Fabry <[email protected]>
  • Loading branch information
ondrej-fabry committed May 30, 2024
1 parent c69b64f commit fcbfa6c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fcbfa6c

Please sign in to comment.