
Here, the -user is used to install packages for currently logged-in users. So if you want to install a python package for a specific user, you can follow the given command syntax: pip3 install -user python_package_name

Install pip package for currently logged-in user

There are two ways to install a package using pip. Once you install the pip, you must be excited about installing packages so I will start with how you can install packages using pip.

Once you are done with the installation, you can check the installed version of pip: pip3 -versionĪnd if you get similar output, congratulations, you have successfully installed the pip3 package on Ubuntu. So in this guide, I will be covering the following:Īs the pip package is available in the default repository so all you'd need to do is execute a single command for the installation: sudo apt install python3-pip Pip (Pip Installs Packages) is a command line utility to install and manage packages written in Python.
