December 2018
Beginner
826 pages
22h 54m
English
In this section, we're only going to run a couple of commands on our VMs, in order to look at the output.
Jump into your Debian 9 box and ensure Pip is installed and up to date:
$ vagrant ssh debian9$ sudo apt install gcc python3-dev python3-setuptools -y$ sudo easy_install3 pip$ pip --versionpip 18.1 from /usr/local/lib/python3.5/dist-packages/pip-18.1-py3.5.egg/pip (python 3.5)
Now, jump into our Ubuntu box and install pip by using apt:
$ sudo apt update$ sudo apt install python3-pip -y
Check the version, as follows:
$ pip3 --versionpip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
Then, upgrade it (only on the Ubuntu box), as follows:
$ pip3 install pip --upgrade
Log out (an important step) and check the version ...