-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Open
Labels
⭐ top bugTop bug.Top bug.⭐ top issueTop issue.Top issue.bugSomething isn't workingSomething isn't working
Description
Bug Description
Problem
- Pillow version conflict between
crawl4ai
and direct requirement causes dependency resolution failure. - Additionally,
html2text==2024.2.26
fails to build on Python 3.12 due to missingdistutils
module.
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.0
requirespillow>=11.1.0,<11.2.dev0
crawl4ai~=0.6.3
requirespillow>=10.4,<11.dev0
html2text==2024.2.26
depends ondistutils
which was removed in Python 3.12
Bug solved method
-
Update requirements.txt with newer crawl4ai:
Changecrawl4ai~=0.6.3
tocrawl4ai>=0.7.0
to support pillow 11.x -
Update requirements.txt with newer html2text:
Changehtml2text~=2024.2.26
tohtml2text~=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.txt
orpip install -e .
): uv pip install -r requirements.txt
Extra information
WRCoding, Arlecchino745, geekidentity, Telogen, xrlexpert and 5 more
Metadata
Metadata
Assignees
Labels
⭐ top bugTop bug.Top bug.⭐ top issueTop issue.Top issue.bugSomething isn't workingSomething isn't working