-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Seeing this with python-3.13:
In [1]: from PyMovieDb import IMDB
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[1], line 1
----> 1 from PyMovieDb import IMDB
File ~/moviedb/lib64/python3.13/site-packages/PyMovieDb/__init__.py:2
1 from .parser import ImdbParser
----> 2 from .imdb import IMDB
File ~/moviedb/lib64/python3.13/site-packages/PyMovieDb/imdb.py:5
3 import requests
4 from PyMovieDb import ImdbParser
----> 5 from requests_html import HTMLSession
6 from requests.packages.urllib3.exceptions import InsecureRequestWarning
8 requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
File ~/moviedb/lib64/python3.13/site-packages/requests_html.py:14
11 from pyquery import PyQuery
13 from fake_useragent import UserAgent
---> 14 from lxml.html.clean import Cleaner
15 import lxml
16 from lxml import etree
File ~/moviedb/lib64/python3.13/site-packages/lxml/html/clean.py:18
8 __all__ = [
9 "clean_html",
10 "clean",
(...) 15 "word_break_html",
16 ]
17 except ImportError:
---> 18 raise ImportError(
19 "lxml.html.clean module is now a separate project lxml_html_clean.\n"
20 "Install lxml[html_clean] or lxml_html_clean directly."
21 ) from None
ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
Install lxml[html_clean] or lxml_html_clean directly.
Metadata
Metadata
Assignees
Labels
No labels