AnswerDotAI / AnswerDotAI/rerankers

Render.com fail building wheel for nmslib

Open
#14 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.6k
Forks
104
PR merge metrics
No merged PRs in 30d

Description

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 😞

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.