RandLA-Net icon indicating copy to clipboard operation
RandLA-Net copied to clipboard

ModuleNotFoundError: No module named 'nearest_neighbors.lib'

Open makaay2077 opened this issue 4 years ago • 7 comments

I run google colab but got this error all notebooks (data_prepare_s3dis.py , main_S3DIS.py)

Traceback (most recent call last): File "utils/data_prepare_s3dis.py", line 12, in from helper_tool import DataProcessing as DP File "/content/RandLA-Net/helper_tool.py", line 15, in import nearest_neighbors.lib.python.nearest_neighbors as nearest_neighbors ModuleNotFoundError: No module named 'nearest_neighbors.lib'

makaay2077 avatar Jan 25 '21 21:01 makaay2077

Hi makaay2077, I met the same issues. May I ask how did you solve it?

yaping222 avatar Feb 08 '21 01:02 yaping222

Hi makaay2077, I met the same issues. May I ask how did you solve it?

I haven't found a solve yet

makaay2077 avatar Feb 09 '21 14:02 makaay2077

Hi makaay2077, I met the same issues. May I ask how did you solve it?

I haven't found a solve yet

I run 'sh compile_op.sh'. Then it works.

yaping222 avatar Feb 10 '21 02:02 yaping222

@yaping222 how did you run it? it gives me this error

Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    from Cython.Distutils import build_ext
ImportError: No module named Cython.Distutils

However, I have Cython installed !

youssef962 avatar Aug 03 '21 11:08 youssef962

@yaping222 how did you run it? it gives me this error

Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    from Cython.Distutils import build_ext
ImportError: No module named Cython.Distutils

However, I have Cython installed !

Sorry, I didn't meet this issue.

yaping222 avatar Aug 03 '21 13:08 yaping222

事先运行 sh compile_op.sh

01skblue01 avatar Mar 28 '22 06:03 01skblue01

Right,you should pip install cypyton firstly,after that run sh compile_op.sh

zhangwanyao avatar Mar 01 '24 09:03 zhangwanyao