loud-spring-3553904/14/2023, 6:56 PM
Confirmed the deps exist in the requirements file and what not. Tips for debugging?
import numpy as np ModuleNotFoundError: No module named 'numpy' ---------------------------------------- ERROR: Failed building wheel for nmslib ERROR: Failed to build one or more wheels
enough-analyst-5443404/14/2023, 7:10 PM
to try and get
pre-installed, but the
is known broken and even part of the motivation for PEP-518. The easiest thing to do is probably fork the repo and add a
with this contents at `python_bindings/pyproject.toml`:
You then depend on
[build-system] requires = ["setuptools", numpy>=1.10.0 ; python_version>='3.5'] build-backend = "setuptools.build_meta"
via a VCS requirement instead of your current requirement string (whatever that is) :`git+https://github.com/<your fork>/nmslib@<sha or tag or branch>#egg=nmslib&subdirectory=python_bindings`. My advice above was lazy and I read all this from the tip of the master branch of the nmslib repo, you almost certainly need to adjust details to pick out the branch / tag / sha you actually want to target.
loud-spring-3553904/14/2023, 7:20 PM
enough-analyst-5443404/14/2023, 7:20 PM