[build] Install Python 3 scapy version 2.4.4 in host OS (#6799)

As we are currently in the process of removing Python 2 from SONiC, to ensure a seamless transition to Python 3.
This commit is contained in:
Joe LeVeque 2021-02-17 10:37:47 -08:00 committed by Ying Xie
parent b2d0cd03a8
commit 246c00d506

View File

@ -430,6 +430,9 @@ sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install 'wheel
# docker Python API package is needed by Ansible docker module as well as some SONiC applications
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install 'docker==4.3.1'
# Install scapy
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install 'scapy==2.4.4'
## Note: keep pip installed for maintainance purpose
# Install GCC, needed for building/installing some Python packages