I am trying to install mininet-wifi. After downloading it, I have been using the following command to install it:
sudo util/install.sh -Wlnfv
Since Python 2 is past its end-of-life, few packages for Python2 are included in 20.04. You have to install pip
for Python 2 manually:
First, install Python 2:
sudo apt install python2
Then, follow https://pip.pypa.io/en/stable/installing/ , using python2
:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python2 get-pip.py
You can run the second step with sudo
. If you don't use sudo
, you'll need to change PATH
, as suggested by the installation message. Alternatively, and possibly better (since it doesn't change PATH
), use
python2 -m pip
whenever you need pip2.