Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to find the package 'nanoflann_ext' ? #11

Open
AmadouTidjani opened this issue May 2, 2023 · 2 comments
Open

How to find the package 'nanoflann_ext' ? #11

AmadouTidjani opened this issue May 2, 2023 · 2 comments

Comments

@AmadouTidjani
Copy link

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

@u1234x1234
Copy link
Owner

Hello,

nanoflann_ext is native .so library C++ compiled here (using https://github.com/pybind/pybind11):

PYBIND11_MODULE(nanoflann_ext, m) {

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/pynanoflann.git@0.0.9

Please feel free to ask any questions.

@AmadouTidjani
Copy link
Author

Hello,

Thanks for the instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants