KPConv-PyTorch icon indicating copy to clipboard operation
KPConv-PyTorch copied to clipboard

About the ModuleNotFoundError: No module named 'cpp_wrappers.cpp_neighbors.radius_neighbors'

Open WanpengShao opened this issue 2 years ago • 1 comments

When I run the compille.sh I get this: My computer is GTX 3070 ubuntu20.04 cuda11.3 cudnn-11.3-linux-x64-v8.2.1.32
Python version is 3.8
pytorch is conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch If can solve this, please help me.

sh compile_wrappers.sh setup.py:2: DeprecationWarning:

numpy.distutils is deprecated since NumPy 1.23.0, as a result of the deprecation of distutils itself. It will be removed for Python >= 3.12. For older Python versions it will remain present. It is recommended to use setuptools < 60.0 for those Python versions. For more details, see: https://numpy.org/devdocs/reference/distutils_status_migration.html

import numpy.distutils.misc_util running build_ext setup.py:2: DeprecationWarning:

numpy.distutils is deprecated since NumPy 1.23.0, as a result of the deprecation of distutils itself. It will be removed for Python >= 3.12. For older Python versions it will remain present. It is recommended to use setuptools < 60.0 for those Python versions. For more details, see: https://numpy.org/devdocs/reference/distutils_status_migration.html

import numpy.distutils.misc_util running build_ext

WanpengShao avatar Oct 13 '22 07:10 WanpengShao

Hello @WanpengShao, You can try to rename radius_neighbors.cp39-win_amd64.pyd to radius_neighbors.pyd and grid_subsampling.cp39-win_amd64.pyd to grid_subsampling.pyd. This solved the problem for me. @HuguesTHOMAS

Yarroudh avatar May 17 '23 23:05 Yarroudh