KNN_CUDA icon indicating copy to clipboard operation
KNN_CUDA copied to clipboard

ImportError: DLL load failed while importing knn with branch windows

Open YingZhang2561 opened this issue 2 years ago • 2 comments

I've cloned the branch windows. After typing 'make' or 'python setup.py install', I got the message: ImportError: DLL load failed while importing knn

OS: Windows 10 Python: 3.8 CUDA: 11.3 TORCH: 1.11.0

Originally posted by @YingZhang2561 in https://github.com/unlimblue/KNN_CUDA/issues/9#issuecomment-1132999277

YingZhang2561 avatar May 20 '22 14:05 YingZhang2561

did you run "make" in the power shell or in cmd?

blukaz avatar May 23 '22 08:05 blukaz

Hi, I got knn finally compiled with ninja. I use cmd in anaconda terminal. The problem is in cpp_extension of torch. Thanks!

Ying

On Mon, May 23, 2022, 4:58 AM Bare Luka Zagar @.***> wrote:

did you run "make" in the power shell or in cmd?

— Reply to this email directly, view it on GitHub https://github.com/unlimblue/KNN_CUDA/issues/19#issuecomment-1134385514, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRZIEH2AY6T2BUQSVRMPETVLNCEBANCNFSM5WPXJTVA . You are receiving this because you were mentioned.Message ID: @.***>

YingZhang2561 avatar May 25 '22 10:05 YingZhang2561

Hi, I got knn finally compiled with ninja. I use cmd in anaconda terminal. The problem is in cpp_extension of torch. Thanks! Ying On Mon, May 23, 2022, 4:58 AM Bare Luka Zagar @.> wrote: did you run "make" in the power shell or in cmd? — Reply to this email directly, view it on GitHub <#19 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRZIEH2AY6T2BUQSVRMPETVLNCEBANCNFSM5WPXJTVA . You are receiving this because you were mentioned.Message ID: @.>

Hi, how can I solve the problem in cpp_extension? I got the same problem. Thanks so much!

YisiLuo avatar Oct 26 '22 12:10 YisiLuo

Hi, I got knn finally compiled with ninja. I use cmd in anaconda terminal. The problem is in cpp_extension of torch. Thanks! Ying On Mon, May 23, 2022, 4:58 AM Bare Luka Zagar @.> wrote: did you run "make" in the power shell or in cmd? — Reply to this email directly, view it on GitHub <#19 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRZIEH2AY6T2BUQSVRMPETVLNCEBANCNFSM5WPXJTVA . You are receiving this because you were mentioned.Message ID: @.>

Hi, how did you solve it? I think I have the same problem: cpp_extension.py cannot find the file knn.so and I suspect it's a problem with the building of ninja.

basteran avatar Aug 04 '23 13:08 basteran