feedsearch
feedsearch copied to clipboard
Error on fresh install: cannot import name 'url_parse' from 'werkzeug.urls'
I'm on Windows 11 and I just installed the library in Python 3.11.8 doing pip install feedsearch. When I import it, I get the following error:
>>> from feedsearch import search
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\juanc\AppData\Local\Programs\Python\Python311\Lib\site-packages\feedsearch\__init__.py", line 3, in <mo
dule> from .feedsearch import search
File "C:\Users\juanc\AppData\Local\Programs\Python\Python311\Lib\site-packages\feedsearch\feedsearch.py", line 6, in <
module> from .feedfinder import FeedFinder
File "C:\Users\juanc\AppData\Local\Programs\Python\Python311\Lib\site-packages\feedsearch\feedfinder.py", line 7, in <
module> from .feedinfo import FeedInfo
File "C:\Users\juanc\AppData\Local\Programs\Python\Python311\Lib\site-packages\feedsearch\feedinfo.py", line 8, in <mo
dule> from .lib import bs4_parser, parse_header_links
File "C:\Users\juanc\AppData\Local\Programs\Python\Python311\Lib\site-packages\feedsearch\lib.py", line 12, in <module
> from werkzeug.urls import url_parse, url_fix
ImportError: cannot import name 'url_parse' from 'werkzeug.urls' (C:\Users\juanc\AppData\Local\Programs\Python\Python311
\Lib\site-packages\werkzeug\urls.py)
Upon further inspection, I see that the installer left Werkzeug 3.1.3, but after forcing the installation of 1.0.0 it works correctly.