Skip to content

Fails to build on Python 3.13 (numpy) #4

@ErikBjare

Description

@ErikBjare
$ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions