Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Couldn't find a tree builder with the features you requested: lxml #6

@willdashwood

Description

@willdashwood

I'm trying to decode files encoded as IC10.2 PHP 7.2. When I first ran the script I got the following error:

Traceback (most recent call last):
  File "/var/www/webroot/easy4us/main.py", line 8, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

Then I saw from another issue on here that running "pip install bs4 requests" might help so I did that. But now I get this error.

clearing pageTraceback (most recent call last):
  File "/var/www/webroot/easy4us/main.py", line 159, in <module>
    clear(session)
  File "/var/www/webroot/easy4us/main.py", line 54, in clear
    s = bs4.BeautifulSoup(res.content, features="lxml")
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/jelastic-python311/lib/python3.11/site-packages/bs4/__init__.py", line 248, in __init__
    raise FeatureNotFound(
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

Am I missing something else? Thanks!

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