-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed as not planned
Labels
⭐ top bugTop bug.Top bug.⭐ top issueTop issue.Top issue.bugSomething isn't workingSomething isn't workinginactive
Description
Bug Description
Problem
- Pillow version conflict between
crawl4aiand direct requirement causes dependency resolution failure. - Additionally,
html2text==2024.2.26fails to build on Python 3.12 due to missingdistutilsmodule.
Error
× No solution found when resolving dependencies:
Because crawl4ai==0.6.3 depends on pillow>=10.4,<11.dev0 and you require pillow>=11.1.0,<11.2.dev0,
your requirements are unsatisfiable.
× Failed to build `html2text==2024.2.26`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
[stderr]
ModuleNotFoundError: No module named 'distutils'
Conflict
pillow~=11.1.0requirespillow>=11.1.0,<11.2.dev0crawl4ai~=0.6.3requirespillow>=10.4,<11.dev0html2text==2024.2.26depends ondistutilswhich was removed in Python 3.12
Bug solved method
-
Update requirements.txt with newer crawl4ai:
Changecrawl4ai~=0.6.3tocrawl4ai>=0.7.0to support pillow 11.x -
Update requirements.txt with newer html2text:
Changehtml2text~=2024.2.26tohtml2text~=2025.4.15
Environment information
- System version: Mac OS
- Python version: 3.12.10
- OpenManus version or branch: main[f9922fa]
- Installation method (e.g.,
pip install -r requirements.txtorpip install -e .): uv pip install -r requirements.txt
Extra information
WRCoding, Arlecchino745, geekidentity, Telogen, xrlexpert and 6 more
Metadata
Metadata
Assignees
Labels
⭐ top bugTop bug.Top bug.⭐ top issueTop issue.Top issue.bugSomething isn't workingSomething isn't workinginactive