I am on MacBook with Sequoia 15.5. I am trying to set up a flow in crewai. For completeness, I did the following steps without any issues.
- conda create --name my-flow python=3.11
- conda activate my-flow
- pip install crewai version 0.120.1
- crewai create flow loop_flow
However, when i then went into the loop_flow folder created and ran crewai install, i got the following error.
I’ve tried all kinds of suggestions i can find but nothing helped.
This is soooo frustrating! Can someone help?
Using CPython 3.11.11 interpreter at: /Users/xxx/anaconda3/envs/crewai-flows/bin/python3
Creating virtual environment at: .venv
Resolved 206 packages in 773ms
error: Distribution onnxruntime==1.22.0 @ registry+https://pypi.org/simple
can’t be installed because it doesn’t have a source distribution or wheel for the current platform
hint: You’re on macOS (macosx_10_16_x86_64
), but onnxruntime
(v1.22.0) only has wheels for the following platforms: manylinux_2_27_aarch64
, manylinux_2_27_x86_64
, manylinux_2_28_aarch64
, manylinux_2_28_x86_64
, macosx_13_0_universal2
, win_amd64
An error occurred while running the crew: Command ‘[‘uv’, ‘sync’]’ returned non-zero exit status 2.