Beautiful Soup Tutorial #1: Install BeautifulSoup, Requests & LXML

To start Web Scraping tutorials, the first thing to do is to install the 3 libraries: BeautifulSoup, Requests, and LXML. We will use PIP. Note that sudo might be required if you are on Linux or Mac.

  • pip install beautifulsoup4
  • pip install requests
  • pip install lxml

To make sure that things work fine, open a new Python file, write the following and run:


Try that on your machine and let me know if you have questions. Then, move to Beautiful Soup Tutorial #2: Extracting URLs



Rating: 5.0/5. From 2 votes.
Please wait...

One Reply to “Beautiful Soup Tutorial #1: Install BeautifulSoup, Requests & LXML”

  1. Awesome! Thank you so, so much.

    Rating: 5.0/5. From 1 vote.
    Please wait...

Leave a Reply