3.3.2.46 Pip

Syntax:

pip [option]

Options:

install; Install Python package

Syntax: pip install

Install pandas package:

pip install pandas;

When install multiple packages, use space to seperate:

pip install test pandas;

uninstall; Uninstall Python package

Syntax: pip uninstall Uninstall package:

pip uninstall pandas;

Uninstall all packages:

pip uninstall *;

-chk; Check if package is installed

Syntax: pip -chk

Asks for permission to install, otherwise reports already installed

pip -chk pandas;

Syntax: pip -chk1

Shows message if not installed, otherwise does nothing

pip -chk1 pandas;