Python:Install: Difference between revisions
Jump to navigation
Jump to search
Created page with "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. ;..." |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
Wheels are preconfigured packages that allow easy off-line installation. They usually have a .whl extension. | 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 | |||
<syntaxhighlight lang=python> | |||
import <module> | |||
<module>.__version__ | |||
</syntaxhighlight> | |||
;pip install <wheelfile> | ;pip install <wheelfile> | ||
:install from <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 | |||
Latest revision as of 19:47, 20 August 2021
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