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

ImportError: /home/cky/anaconda3/envs/python37/lib/python3.7/site-packages/knn_cuda/csrc/_ext/knn/knn.so: cannot open shared object file: No such file or directory #8

Closed
chky1997 opened this issue Oct 8, 2021 · 5 comments

Comments

@chky1997
Copy link

chky1997 commented Oct 8, 2021

Hi, I have run the building commands, but when I run the first example training command the error shows like this. The KNN cuda 0.2 is installed. Could you please give me some advice?

@yuxumin
Copy link
Owner

yuxumin commented Oct 8, 2021

Hi, sorry that i have no idea where goes wrong in your env. Try to check you have installed the package correctly.

@chky1997
Copy link
Author

chky1997 commented Oct 8, 2021

I noticed that Ninja should also be installed, is that right?

@yuxumin
Copy link
Owner

yuxumin commented Oct 8, 2021

See here

@Greywan
Copy link

Greywan commented Oct 11, 2021

I noticed that Ninja should also be installed, is that right?
if "Ninja is required to load C++ extensions"
you can try to run:
wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip
sudo unzip ninja-linux.zip -d /usr/local/bin/
sudo update-alternatives --install /usr/bin/ninja ninja /usr/local/bin/ninja 1 --force

@yuxumin
Copy link
Owner

yuxumin commented Oct 30, 2021

Close it since no response. Feel free to re-open it if problems still exist.

@yuxumin yuxumin closed this as completed Oct 30, 2021
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

3 participants