-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Open
Description
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
requirespillow>=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
- Clone the repository
- Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
- Create virtual environment:
uv venv --python 3.12
- Activate venv:
source .venv/bin/activate
- 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.
lhui2010
Metadata
Metadata
Assignees
Labels
No labels