Pip is Python package manager command line tools that makes python packages easy to download from Python Package Index (PyPI).
In the sense Pip is like package manager as Ubuntu has apt and programming languages like PHP has composer, node.js has npm.
This article is intended to guide you installing Pip on Ubuntu system.
If you want to download pip for Python3, then you have to be installed Python3 and in the way, also Pip for Python2.
To check which version of Python you have installed, use following command.
python --version
python2 --version
python3 --version
Note: You need to be logged in as root user with sudo privileges.
1. Open your terminal, by pressing shortcut key CTRL + ALT + T
or go to menu and click Terminal.
2. Update your package list by following command:
sudo apt-get update
3. If you want to install pip for Python3 run following command,
sudo apt-get install python3-pip
For Python2, run command
sudo apt-get install python-pip
4. Check Pip for Python3 version
pip3 --version
pip3 -V
or Pip for Python2 version
pip --version
pip -V
Note: for Pip for Python2 use pip word instead of pip3
1. To get all your installed packages, run command
pip3 list
2. Search for packages
pip3 <package-keyword>
3. Installing packages from Pip.
pip3 install <package-name>
4. Uninstalling package commmand.
pip3 uninstall <package-name>
5. To get more option, run command
pip3 --help
So this way, you can manage your python packages. You can visit pip documentation site to get more information.
Hi, My name is Harsukh Makwana. i have been work with many programming language like php, python, javascript, node, react, anguler, etc.. since last 5 year. if you have any issue or want me hire then contact me on [email protected]
How to prepend a string in PHP
Use the PHP Concatenation Operator Th...How to Create virtual environment in Python3
Python virtual environment is tool that...How to Create Custom Directive Attribute in Angular9?
Angular Directives is basicall...Create CRUD Application Example with REST Web API in Angular
In this article, I will share with you h...Ajax Image Upload using Intervention Package in Laravel
Today, I will learn you how to store fil...