Fix #2409: Pin setuptools version to fix packaging.licenses dependency issue

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-03-20 02:35:31 +00:00
parent fe0813e831
commit 21a91f9998
3 changed files with 47 additions and 1 deletions

View File

@@ -152,6 +152,11 @@ If you encounter issues during installation or usage, here are some common solut
- Try upgrading pip: `pip install --upgrade pip`
- If issues persist, use a pre-built wheel: `pip install tiktoken --prefer-binary`
3. **ModuleNotFoundError: No module named 'packaging.licenses'**
- This error occurs when installing with `uv` due to newer setuptools versions
- Fix by downgrading setuptools: `pip install setuptools<=65.5.0`
- Then install CrewAI: `uv pip install crewai`
### 2. Setting Up Your Crew with the YAML Configuration
To create a new CrewAI project, run the following CLI (Command Line Interface) command: