Beautiful Soup

Disclaimer : I am a software engineer but I keep on forgetting the exact syntax, so these blogs work as a reminder for me and save me from searching again. I write them because I love to talk and in this blog let’s talk to beautiful soup. Best part I will keep them as short as possible.
1) Virtual environment and beautiful soup not getting detected
So, I had created this virtual environment for implementing a basic RAG pipeline and rag requires data, in my case the data came from web links. Hence came beautiful soup to scrape the web pages .
But this virtual environment it wasn’t getting the import bs4
statement.
Here, solve this issue by installing pip install beautifulsoup4
in your virtual environment.
Happy Coding!
Subscribe to my newsletter
Read articles from Mansi Jain directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
