Skip to Content
Hands-On ROS for Robotics Programming
book

Hands-On ROS for Robotics Programming

by Bernardo Ronquillo Japón
February 2020
Intermediate to advanced
432 pages
10h 50m
English
Packt Publishing
Content preview from Hands-On ROS for Robotics Programming

Installing the latest version

This section applies to the case in which you need to install pip or upgrade it:

  1. First, remove the previous version if there is one:
$ sudo apt remove python-pip

We do this because the Ubuntu repository may not have the latest version of pip. In the next step, you will access the original source to get all of the updates.

  1. Download the installation script and execute it:
$ sudo apt update$ curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"$ sudo python get-pip.py
  1. Check which version is installed:
$ pip --version    pip 19.3.1 from /usr/local/lib/python2.7/site-packages/pip (python 2.7)

If it was already present in your system, you can easily upgrade using pip itself:

$ sudo pip install --upgrade pip ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering ROS for Robotics Programming

Mastering ROS for Robotics Programming

Lentin Joseph
ROS Robotics By Example - Second Edition

ROS Robotics By Example - Second Edition

Lentin Joseph, Carol Fairchild, Dr. Thomas L. Harman

Publisher Resources

ISBN: 9781838551308Supplemental Content