Skip to content

Render.com fail building wheel for nmslib #14

@soderalohastrom

Description

@soderalohastrom

Happens when requirements.txt has any of the following:
rerankers[gpt]
rerankers[rankllm]
rerankers[all]

  • seemingly since v0.3.0

from nmslib.cc:16:
/usr/local/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
typedef struct _frame PyFrameObject;
^~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for nmslib
ERROR: Could not build wheels for nmslib, which is required to install pyproject.toml-based projects
==> Build failed 😞

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