Hi guys, when installing Prefect 1.* with the rss ...
# prefect-community
c
Hi guys, when installing Prefect 1.* with the rss extra, Python 3.10.6 and Pip 22.2.2 I am getting
INFO: pip is looking at multiple versions of feedparser to determine which version is compatible with other requirements. This could take a while.
Collecting feedparser>=5.0.1
Using cached feedparser-6.0.10-py3-none-any.whl (81 kB)
Using cached feedparser-6.0.9-py3-none-any.whl (81 kB)
Using cached feedparser-6.0.8-py3-none-any.whl (81 kB)
Using cached feedparser-6.0.7-py3-none-any.whl (81 kB)
Using cached feedparser-6.0.6-py3-none-any.whl (80 kB)
Using cached feedparser-6.0.5-py3-none-any.whl (80 kB)
Using cached feedparser-6.0.4-py3-none-any.whl (80 kB)
INFO: pip is looking at multiple versions of feedparser to determine which version is compatible with other requirements. This could take a while.
Using cached feedparser-6.0.3-py3-none-any.whl (80 kB)
Using cached feedparser-6.0.2-py3-none-any.whl (80 kB)
Using cached feedparser-5.2.1.zip (1.2 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in feedparser setup command: use_2to3 is invalid.
[end of output]
1. How can I solve this? 2. Can’t we upgrade the feedparser requirement?
j
Related to setuptools breaking change in v58.0.0 https://setuptools.pypa.io/en/latest/history.html#v58-0-0 You may want to downgrade it to
setuptools<58
as a quick workaround 🤷 (Not testested)
c
My question is if we need need to have feedparser >=5.0.1. can’t we upgrade the requirement?
cc @Anna Geller @Kevin Kho
a
maybe try installing it separately from prefect? hard to say
please don't tag, e.g. Kevin is no longer working at Prefect
c
Sorry
a
no worries at all 🙌