Pip: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 27: Line 27:
</syntaxhighlight>
</syntaxhighlight>
=Operations=
=Operations=
==List Packages Installed in Environment==
<syntaxhighlight lang='bash'>
pip list
</syntaxhighlight>
==Install a Package==
==Install a Package==
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>

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

List Packages Installed in Environment

pip list

Install a Package

pip install <package-name>

Upgrade a Package