Skip to content

Dependency Conflict: crawl4ai 0.6.3 vs pillow 11.1.0 #1224

@Edison-A-N

Description

@Edison-A-N

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 missing distutils 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 requires pillow>=11.1.0,<11.2.dev0
  • crawl4ai~=0.6.3 requires pillow>=10.4,<11.dev0
  • html2text==2024.2.26 depends on distutils which was removed in Python 3.12

Bug solved method

  1. Update requirements.txt with newer crawl4ai:
    Change crawl4ai~=0.6.3 to crawl4ai>=0.7.0 to support pillow 11.x

  2. Update requirements.txt with newer html2text:
    Change html2text~=2024.2.26 to html2text~=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 or pip install -e .): uv pip install -r requirements.txt

Extra information

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions