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 install onnxruntime on MacOS 15 #136

Open
siddas27 opened this issue Nov 30, 2024 · 2 comments
Open

Unable to install onnxruntime on MacOS 15 #136

siddas27 opened this issue Nov 30, 2024 · 2 comments

Comments

@siddas27
Copy link
Contributor

I ran uv sync, and it hrows this error on MacOS 15

Resolved 245 packages in 9ms
error: Distribution `onnxruntime==1.19.2 @ registry+https://pypi.org/simple` can't be installed because it doesn't have a source distribution or wheel for the current platform

@burningion
Copy link

Following up here, it's reported as a bug in uv: astral-sh/uv#9228

If you need, you can get around it by selecting a specific version of Python:

 uv venv --python 3.11.10

This will install Python 3.11.10, and then allow you to proceed to follow instructions.

@kitt1987
Copy link

kitt1987 commented Jan 18, 2025

It's a UV bug, but UV seems not to fix it.

I found another way to work around then we can use the latest crewai on macos.

  1. Replace the uv sync or crew install with the following commands.
uv export --format requirements-txt > requirements.txt
uv pip install --requirements requirements.txt
# If any dependencies fail, just run 
# uv pip install packagename==version
# to install. Such as pyarrow==19.0.0.
  1. Replace the crew run with uv run --no-sync run_crew. You may also load .env before running any crew.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants