Skip to content

Fails to build on Python 3.13 (numpy) #4

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

Open
ErikBjare opened this issue Dec 13, 2024 · 2 comments
Open

Fails to build on Python 3.13 (numpy) #4

ErikBjare opened this issue Dec 13, 2024 · 2 comments

Comments

@ErikBjare
Copy link
Member

ErikBjare commented Dec 13, 2024

$ pipx install gptme-rag
Fatal error from pip prevented installation. Full pip output in file:
    /Users/michael/.local/pipx/logs/cmd_2024-12-12_19.03.02_pip_errors.log

pip seemed to fail to build package:
    numpy<2.0.0

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    error: unknown target CPU 'armv8.2-a+fp16'
    /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/arm_neon.h:28:2: error: "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
    error: metadata-generation-failed

Error installing gptme-rag.

Reported by @Miyou

Workaround in 9589856 by setting the max Python version to 3.12

To actually fix this we'd need to upgrade to numpy 2.0+, but it depends on ONNX fixing their numpy 2.0 support.

@ErikBjare ErikBjare reopened this Dec 13, 2024
@ErikBjare
Copy link
Member Author

At least the separation from gptme made it so that it doesn't block Python 3.13 support in gptme core

@ErikBjare
Copy link
Member Author

ErikBjare commented Feb 2, 2025

onnxruntime now supports numpy >2.0: chroma-core/chroma#2359

But we still need Chroma to support it, and update Chroma #3

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

1 participant