pynanoflann
pynanoflann copied to clipboard
How to find the package 'nanoflann_ext' ?
Hello,
Thanks for this great tool.
I try to use your code, and I realize that there is no specific package named 'nanoflann_ext' in import nanoflann_ext
.
Can I get some help with this? Thanks in advance
Hello,
nanoflann_ext
is native .so
library C++ compiled here (using https://github.com/pybind/pybind11):
https://github.com/u1234x1234/pynanoflann/blob/4c8399e40662bbe96a813e04d38500d5dc659b89/src/pynanoflann.cpp#L426
During the installation https://github.com/u1234x1234/pynanoflann#install it should be [automatically compiled] from C++ source files. (https://github.com/u1234x1234/pynanoflann/blob/master/setup.py#L74).
If you cloned the repo then you need to:
python setup.py install
before the using.
Or via pip:
pip install git+https://github.com/u1234x1234/[email protected]
Please feel free to ask any questions.
Hello,
Thanks for the instructions.