Pip
Last updated
Last updated
PIP is a package manager for Python packages, or modules if you like.
Note: If you have Python version 3.4 or later, PIP is included by default.
A package contains all the files you need for a module.
Modules are Python code libraries you can include in your project.
nstall PIP
If you do not have PIP installed, you can download and install it from this page:
Downloading a package is very easy.
Open the command line interface and tell PIP to download the package you want.
Navigate your command line to the location of Python's script directory, and type the following:
Download a package named "camelcase":
C:\Users\
Your Name
\AppData\Local\Programs\Python\Python36-32\Scripts>pip install camelcase
Now you have downloaded and installed your first package!
Once the package is installed, it is ready to use.
Import the "camelcase" package into your project.
Use the uninstall
command to remove a package:
Uninstall the package named "camelcase":
C:\Users\
Your Name
\AppData\Local\Programs\Python\Python36-32\Scripts>pip uninstall camelcase
Use the list
command to list all the packages installed on your system:
List installed packages:
C:\Users\
Your Name
\AppData\Local\Programs\Python\Python36-32\Scripts>pip list
Find more packages at .