from bs4 import beautifulsoup importerror no module named bs4 code example Example: No module named 'bs4' pip install BeautifulSoup4 this is used for webscraping