WPJiang / HWTL_SDU-ANNS

57 stars 5 forks source link

ModuleNotFoundError when importing qsgngt in Python #1

Open noahfl opened 1 year ago

noahfl commented 1 year ago

Hi there,

I discovered this algorithm while looking through the ANN benchmark repository. I'm interested in trying it out so I followed their Dockerfile to install the package.

While installing, I got this warning after running ldconfig: ldconfig: /usr/local/lib/libngt.so.2 is not a symbolic link

The Python wheel still installs successfully, but when I import it in Python I get ModuleNotFoundError: No module named 'qsgngt'

I symlinked ligngt.so.2 and libngt.so to libngt.so.2.0.10, and that fixed the warning, but I'm still getting the ModuleNotFoundError.

I also just noticed that the benchmark actually calls the binary directly. It seems like they weren't able to get the Python package to work either.

Would you be able to take a look and see if there's a problem with the wheel?

WPJiang commented 1 year ago

we have updated ReadMe file, maybe you can try again according to it, thanks.