pip3 - Package Installer for Python 3

This section provides a tutorial example on how to use pip3 (Package Installer for Python 3) to manage and install packages.

If you want to install additional packages from Python 3 on your macOS, you should use "pip3", which is a Package Installer for Python 3.

1. Check pip3 version:

herong$ pip3 --version

pip 19.2.3 from /Library/Frameworks/Python.framework/Versions/3.8/lib\
  /python3.8/site-packages/pip (python 3.8)

2. List installed packages:

herong$ pip3 list

Package    Version
---------- -------
pip        19.2.3
setuptools 41.2.0

3. Search for packages by keyword:

herong$ pip3 search ppt

ppt (0.0.6)               - The Python Performance Tuner
ppt-time-referee (0.7.3)  - Simple time-awareness tool for PowerPoint
ppts (1.0.28)             - ppt with web
TextToPPT (0.1.9)         - Converting Text To PPT
pypyt (0.1.1)             - Library to render ppt templates in python
changeOffice (0.53)       - change msOffice format from ppt to pptx, ...
FileToPics (0.0.6)        - Turn file (ppt/...) into pictures

3. Install a new package:

herong$ pip3 install FileToPics

Collecting FileToPics
Downloading files.pythonhosted.org/packages/.../FileToPics-0.0.6.tar.gz
Installing collected packages: FileToPics
Running setup.py install for FileToPics ... done
Successfully installed FileToPics-0.0.6

Table of Contents

 About This Book

 Running Python Code Online

Python on macOS Computers

 Run Python Scripts on macOS

 Install New Versions of Python on macOS

pip3 - Package Installer for Python 3

 Python on Linux Computers

 Built-in Data Types

 Variables, Operations and Expressions

 Statements - Execution Units

 Function Statement and Function Call

 Iterators, Generators and List Comprehensions

 Classes and Instances

 Modules and Module Files

 Packages and Package Directories

 "sys" and "os" Modules

 "pathlib" - Object-Oriented Filesystem Paths

 "pip" - Package Installer for Python

 SciPy.org - Python Libraries for Science

 pandas - Data Analysis and Manipulation

 Anaconda - Python Environment Manager

 Jupyter Notebook and JupyterLab

 References

 Full Version in PDF/EPUB