Try to install python2 and python3 mininet (#1008)

This commit is contained in:
lantz
2021-01-13 23:24:06 -08:00
committed by GitHub
parent 9517f6c197
commit e4003290e0
3 changed files with 17 additions and 6 deletions
+2 -2
View File
@@ -183,8 +183,8 @@ function mn_deps {
${PYPKG}-pexpect ${PYPKG}-tk
# Install pip
$install ${PYPKG}-pip || $install ${PYPKG}-pip-whl
if ! ${PYTHON} -m pip; then
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
if ! ${PYTHON} -m pip -V; then
wget https://bootstrap.pypa.io/get-pip.py
sudo ${PYTHON} get-pip.py
rm get-pip.py
fi