from bs4 import BeautifulSoup BeautifulSoup is not accessed
14:34 07 Jun 2023

I'm trying to make a Python program that will scrape out information from a website, and to do that, I'm trying to use the BeautifulSoup4 Library. I have installed it in the terminal, and when I try the pip freeze command, it indeed appears to be there.

But when I try to import it into VS Code, the error from bs4 import BeautifulSoup BeautifulSoup is not accessed shows up and I don't know how to solve it.

As said above, I've tried to import it into VSCode but got the error, so I tried to pip install it in the terminal only to realize it has already been installed but the problem is still there.

heres how i imported it into VSCode:

    from tkinter import *
    from tkinter.messagebox import *
    import sqlite3
    from bs4 import BeautifulSoup
    import hashlib
python visual-studio-code beautifulsoup