Before you read this tutorial, make sure you have latest Pip installed. To updgrade pip follow this tutorial https://www.nbshare.io/notebook/228803083/How-to-Upgrade-Python-PIP/
Let us say we want to install the package Scrapy
pip install Scrapy
By default, pip will install the latest version of Package.
pip show Scrapy
Let us say we want to find all the available packages of Scrapy on PyPi.
pip install Scrapy==
As we see above, pip lists all the available packages, if we put '==' at the end of package name.
To Install a specfic package, just put the version name after the '==' sign as shown below.
To Install Scrapy version 2.4.1, execute following command.
pip install Scrapy==2.4.1
To Uninstall package just type 'pip uninstall
pip uninstall Scrapy
Found existing installation: Scrapy 2.5.0
Uninstalling Scrapy-2.5.0:
Would remove:
/home/anaconda3/envs/py39/bin/scrapy
/home/anaconda3/envs/py39/lib/python3.9/site-packages/Scrapy-2.5.0.dist-info/*
/home/anaconda3/envs/py39/lib/python3.9/site-packages/scrapy/*
Proceed (y/n)?
As shown above, pip will prompt for (y/n). Press 'y' if you want to uninstall the Python package.
Related Notebooks
- How To Use Pandas Correlation Matrix
- How To Use R Dplyr Package
- How To Use Grep In R
- How To Use Selenium Webdriver To Crawl Websites
- How to Upgrade Python PIP
- Why do we use Optional ListNode in Python
- How To Convert Python List To Pandas DataFrame
- PyTorch Tutorial A Complete Use Case Example
- How To Install Python With Conda