Pip: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 32: Line 32:
</syntaxhighlight>
</syntaxhighlight>
==Upgrade a Package==
==Upgrade a Package==
<syntaxhighlight lang='bash'>
pip install <package-name>
</syntaxhighlight>

Revision as of 03:19, 11 January 2022

External

Internal

Overview

pip is the standard package manager for Python, that allows you install and manage package that are not part of the Python standard library. pip has been included with the Python installer since 3.4. pip looks for packages in PyPI

Installation

CentOS

https://linuxize.com/post/how-to-install-pip-on-centos-7/
yum install epel-release # On Amazon Linux, it works without this
yum install python-pip

Upgrade

python -m pip install --upgrade pip

Version

pip --version

Operations

Install a Package

pip install <package-name>

Upgrade a Package