Install pip After Python 3.11 Install in Ubuntu 22.04
Channel: babarehner
Date: 2023-01-06

Recently a user asked me how to install pip after installing python3.11 in ubuntu22.04. While I had made a video on how to install the latest pip from its github repository ( https://youtu.be/wFJyQ_oidpE ) I decided to create a new video on how to deal with the situation I created in my python3.11 install video. In that video I demonstrated a method on how to install multiple versions of Python and keep them all straight and separate from the system Python. This video demonstrates a method on how to install pip for python3.11 and then offers the option of installing pip for the system python (python3). Then it demonstrates using 'python(version number) -m pip' to explicitly tell Ubuntu which pip the user is using.

Of course someone will probably mention using Virtual Environments instead of using 2 pip installs and that is demonstrated lightly in several videos on this channel. So a more in depth treatment of a Virtual Environment video might be in order.

00:00 Introduction
03:13 Install pip for Python3.11
05:09 Install pip for system python (python3 aka python3.10)
07:04 Use 'Python(version number) -m pip' when multiple pips installed

Additional Info:

Installing packages using pip and virtual environments- https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/

Installing pip/setuptools/wheel with Linux Package Managers- https://packaging.python.org/en/latest/guides/installing-using-linux-tools/

Using Python’s pip to Manage Your Projects’ Dependencies- https://realpython.com/what-is-pip/

Why you should use ‘python –m pip’- https://snarky.ca/why-you-should-use-python-m-pip/