How to Install BeautifullSoup4 and Requests Library in Jupyter Notebook

Vasu Devan S
May 23, 2022

--

First Check whether the BeautifullSoup4 and Requests library are installed or Not by Using the below code:

Code: import beautifulsoup4

Code: import requests

If the Code mentioned above didn't throw any error then the Library is already installed, if there is an Error while Running the Above Code then use:

!pip install beautifulsoup4

Get a result showing which version was installed

!pip install requests

Get a result showing which version was installed

Need to Know More Check out the Documentation of beautifulsoup4:

https://beautiful-soup-4.readthedocs.io/en/latest/

Need to Know More Check out the Documentation of Requests

https://docs.python-requests.org/

Thank you

By VasuDevan S

--

--

Vasu Devan S
Vasu Devan S

Written by Vasu Devan S

Data Scientist aspirant | Machine learning | SQL | Web scraping|Data mining|Statistics |Python |Pandas|Advanced Excel

No responses yet