Skip to content

ImportError: No module named html.entities #21

@iZeprend

Description

@iZeprend

Traceback (most recent call last):
File "app.py", line 6, in
import bs4
File "D:\Program Files\Python\lib\site-packages\bs4_init_.py", line 35, in
from .builder import builder_registry, ParserRejectedMarkup
File "D:\Program Files\Python\lib\site-packages\bs4\builder_init_.py", line 7, in
from bs4.element import (
File "D:\Program Files\Python\lib\site-packages\bs4\element.py", line 10, in
from bs4.dammit import EntitySubstitution
File "D:\Program Files\Python\lib\site-packages\bs4\dammit.py", line 14, in
from html.entities import codepoint2name
ImportError: No module named html.entities

This is what I am receiving when I input the command, "python app.py"
P.S. I do not have that much coding background, I looked everywhere too find the solution but can't find anything

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions