Pip: Difference between revisions

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

Revision as of 03:14, 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

Version

pip --version

Operations

Install a Package

pip install <package-name>

Upgrade a Package

pip install <package-name>