[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:
parent
bf83b6ca59
commit
3fe8382826
@ -432,6 +432,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
|
# 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'
|
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
|
## Note: keep pip installed for maintainance purpose
|
||||||
|
|
||||||
# Install GCC, needed for building/installing some Python packages
|
# Install GCC, needed for building/installing some Python packages
|
||||||
|
Reference in New Issue
Block a user