Python PIP
- In this topic, we will learn how to use pip to install and manage Python package.
What is pip?
- Pip is the standard package manager for python. We can use pip to install additional package that are not available in the python standard.
- Pip is a package manager for python package or modules.
Ex:
- pip install numpy
If we had installed pip on our system, this command would have installed the numpy library.
How to install pip?
- If you do not have pip installed you can download and install it from this page : https://pypi.org/project/pip/
Using pip
- pip is a command-line program. After it's installation, a pip command is added which can be used with the command prompt.
- Basic Syntax of pip is : pip <pip arguments>
Download a Package
- 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 script directory.
- Ex: Download a package name "camelcase"
Using a Package
- Once the package is installed, it is ready to use.
- Import the "camelcase" package into your project.
Remove a Package
- Use the uninstall command to remove a package.
- Uninstall the package named "camelcase".
Excellent blog! I'm glad to visit your post and thank you!
ReplyDeleteOracle DBA Training in Chennai
oracle dba training institutes in chennai
Pega Training in Chennai
Advanced Excel Training in Chennai
Spark Training in Chennai
Power BI Training in Chennai
Oracle Training in Chennai
Unix Training in Chennai
Tableau Training in Chennai