Skip to content

Dependency conflict: pillow~=11.1.0 incompatible with crawl4ai~=0.6.3 #1231

@WarrenZhu050413

Description

@WarrenZhu050413

Description

There is a dependency conflict in requirements.txt that prevents installation with package managers like uv and potentially causes issues with pip.

The Conflict

  • Pillow version specified: pillow~=11.1.0 (means >=11.1.0, <12.0.0)
  • crawl4ai requirement: crawl4ai~=0.6.3 requires pillow>=10.4,<11.0

These version constraints are mutually exclusive.

Error Output

When using uv pip install -r requirements.txt:

× No solution found when resolving dependencies:
╰─▶ Because crawl4ai==0.6.3 depends on pillow>=10.4,<11.dev0 and only the
    following versions of crawl4ai are available:
        crawl4ai<=0.6.3
        crawl4ai>0.7.dev0
    we can conclude that crawl4ai>=0.6.3,<0.7.dev0 depends on
    pillow>=10.4,<11.dev0.
    And because you require pillow>=11.1.0,<11.2.dev0 and
    crawl4ai>=0.6.3,<0.7.dev0, we can conclude that your requirements are
    unsatisfiable.

Environment

  • Python version: 3.12.10
  • Package manager: uv 0.8.19 (also affects pip)
  • OS: macOS Darwin 24.3.0 (ARM64)
  • Date discovered: 2025-01-19

Steps to Reproduce

  1. Clone the repository
  2. Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh
  3. Create virtual environment: uv venv --python 3.12
  4. Activate venv: source .venv/bin/activate
  5. Try to install: uv pip install -r requirements.txt

Suggested Solutions

Option 1: Downgrade Pillow

Change line 13 in requirements.txt:

- pillow~=11.1.0
+ pillow~=10.4

Option 2: Update crawl4ai

Check if a newer version of crawl4ai supports Pillow 11.x and update accordingly.

Option 3: Use flexible versioning

- pillow~=11.1.0
+ pillow>=10.4

This allows the dependency resolver to find a compatible version.

Impact

This blocks new users from setting up OpenManus following the documented installation instructions, particularly when using the recommended uv package manager from Method 2 in the README.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions