[FIXED] ModuleNotFoundError: No Module Named BS4 in Python 3.12 (2024)

preview_player
Показать описание
In this video, I'll show you how you can fix the error that says: ModuleNotFoundError: No Module Named BS4 in Python 3.12.
We get this error as the module beautifulsoup (bs4) is not installed in python. We will use pip to install bs4 in python.
The command to install bs4 (beautifulsoup): pip install beautifulsoup

🌐Connect with me:

By the end of this video, you'll have installed bs4 in python, and fixed the error: ModuleNotFoundError: No Module Named BS4 in Python 3.12.
After installing bs4, we will also run some sample code that uses bs4 in python.
If you have any problems let me know in the comments below.

#python #pythontutorial #beautifulsoup #bs4
Рекомендации по теме
Комментарии
Автор

What if the error 'no module named bs4' is in the VSCode terminal but not in the command terminal? when I run pip install beautifulsoup4 it says i already have it downloaded.

fyi