torch-points3d / torch-points-kernels

Pytorch kernels for spatial operations on point clouds
MIT License
96 stars 25 forks source link

ImportError: torch_points_kernels/points_cpu.so: undefined symbol: _ZNK2at6Tensor4normEN3c108optionalINS1_6ScalarEEENS1_8ArrayRefIlEEb #85

Closed dpxudong closed 2 years ago

ptoews commented 2 years ago

I have the same issue with version 0.6.10, in version 0.7.0 it disappears. However, the 0.7.0 version is not compatible with torch-points3d according to the requirements.

CCInc commented 2 years ago

Hi, Version 0.7.0 should be compatible with torch-points, you may have to install it manually.

dipesh-commits commented 1 year ago

Previously, it was throwing the same error as above. After successfully building using v0.7.0, it throws the following error:

import torch_points_kernels Traceback (most recent call last): File "", line 1, in File "/home/Desktop/dev/torch-points-kernels-0.7.0/torch_points_kernels/init.py", line 1, in from .torchpoints import * File "/home/Desktop/dev/torch-points-kernels-0.7.0/torch_points_kernels/torchpoints.py", line 7, in import torch_points_kernels.points_cpu as tpcpu ModuleNotFoundError: No module named 'torch_points_kernels.points_cpu'

Do you have any idea what is causing this?

WwZzz commented 1 year ago

I solved the same problem by pip install torch-point3d. It automatically downgrades the version of torch-points-kernels to 0.6.10 from 0.7.0, and the issue disappears.