Python:Install

From wiki
Jump to navigation Jump to search

pip is the python program for module installation and upgrade.

Wheels are preconfigured packages that allow easy off-line installation. They usually have a .whl extension.

pip list
List all installed packages and their version.
Same can be done on python prompt like this
import <module>
<module>.__version__
pip install <wheelfile>
install from <wheelfile>
pip uninstall <package>
uninstall <package>
pip list --outdated
List all package that can be upgraded
pip install --upgrade <package>
Upgrade a package to the latest version