In file included from /tmp/pip-install-ohp78vii/nmslib_517f02f3475141a7aed106ce6b7e9469/.eggs/pybind11-2.6.1-py3.11.egg/pybind11/include/pybind11/attr.h:13:0,
...
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
Running setup.py clean for nmslib
Failed to build nmslib
ERROR: Could not build wheels for nmslib, which is required to install pyproject.toml-based project
pip install pyserini