Description
Description
While Running "crewai install" I'm getting this error:
No pyproject.toml
found in current directory or any parent directory
An error occurred while running the crew: Command '['uv', 'sync']' returned non-zero exit status 2.
My python environment version is Python 3.11.7
My pyproject.toml is
[project]
name = "knifeqa"
version = "0.1.0"
description = "knifeqa using crewAI"
authors = [{ name = "Your Name", email = "you@example.com" }]
requires-python = ">=3.10,<3.13"
dependencies = [
"crewai[tools]>=0.108.0,<1.0.0",
"onnxruntime==1.15.0",
"pyarrow==17.0.0",
]
[project.scripts]
knifeqa = "knifeqa.main:run"
run_crew = "knifeqa.main:run"
train = "knifeqa.main:train"
replay = "knifeqa.main:replay"
test = "knifeqa.main:test"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.crewai]
type = "crew"
Steps to Reproduce
- python -m venv .venv
- !pip install crewai uv langtrace-python-sdk
- crewai create crew "name of the project"
- crewai install --> this is when the error occurred
- Couldnt also run crewai run because of the install
Expected behavior
Intall all of crewai needed libraries and then run "run" to kick of the crewai test sample
Screenshots/Code snippets
pyproject.toml
[project]
name = "knifeqa"
version = "0.1.0"
description = "knifeqa using crewAI"
authors = [{ name = "Your Name", email = "you@example.com" }]
requires-python = ">=3.10,<3.13"
dependencies = [
"crewai[tools]>=0.108.0,<1.0.0",
"onnxruntime==1.15.0",
"pyarrow==17.0.0",
]
[project.scripts]
knifeqa = "knifeqa.main:run"
run_crew = "knifeqa.main:run"
train = "knifeqa.main:train"
replay = "knifeqa.main:replay"
test = "knifeqa.main:test"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.crewai]
type = "crew"

Operating System
Windows 11
Python Version
3.11
crewAI Version
0.80.0
crewAI Tools Version
=0.108.0,<1.0.0"
Virtual Environment
Venv
Evidence

Possible Solution
I dont know
Additional context
None