Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run the app with crewai run command #1643

Open
thealokkr opened this issue Nov 24, 2024 · 2 comments
Open

Unable to run the app with crewai run command #1643

thealokkr opened this issue Nov 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@thealokkr
Copy link

Description

When the crewai run command is run it is throwing the following error is thrown

crewai run
Running the Crew
error: Distribution onnxruntime==1.20.1 @ registry+https://pypi.org/simple can't be installed because it doesn't have a source distribution or wheel for the current platform
An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 2.

Steps to Reproduce

  1. Create conda environment with python=3.12
  2. Activate conda environment
  3. pip install crewai crewai-tools
  4. crewai create crew <project_name>
  5. cd <project_name>
  6. crewai run

It throws the error

Expected behavior

It should run the crew

Screenshots/Code snippets

Running the Crew
error: Distribution onnxruntime==1.20.1 @ registry+https://pypi.org/simple can't be installed because it doesn't have a source distribution or wheel for the current platform
An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 2.

Operating System

Other (specify in additional context)

Python Version

3.12

crewAI Version

crewai==0.80.0

crewAI Tools Version

0.14.0

Virtual Environment

Conda

Evidence

Running the Crew
error: Distribution onnxruntime==1.20.1 @ registry+https://pypi.org/simple can't be installed because it doesn't have a source distribution or wheel for the current platform
An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 2.

Possible Solution

None

Additional context

MacOS - Sequoia

@thealokkr thealokkr added the bug Something isn't working label Nov 24, 2024
@wickedbaba
Copy link

Hey, was facing the same issue. Found the resolution here - Crew AI Community

according to beijingrong, python 3.12 does not work, as any onnxruntime>=1.15.0 will report the wheel errors while chromadb requires onnxruntime>=1.14.1.

@thealokkr
Copy link
Author

I had already tried it but didn't work. It failed during the crewai install step with the following error
help: greenlet (v3.1.1) was included because poem (v0.1.0) depends on crewai[tools] (v0.86.0) which depends on crewai-tools (v0.17.0) which depends on embedchain (v0.1.125) which depends on
sqlalchemy (v2.0.36) which depends on greenlet
An error occurred while running the crew: Command '['uv', 'sync']' returned non-zero exit status 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants