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

ImportError: cannot import name 'linux' from 'open3d'

Open youssef962 opened this issue 3 years ago • 5 comments

I'm trying to run the code but I have some questions and please anyone answer me as I urgently need this code : 1-Does the code on the windows CMD or anaconda or any WSL? I've tried all, the regular CMD has no (open3d) module, the anaconda and the ubuntu gives me the same error which is (ImportError: cannot import name 'linux' from 'open3d'). 2-How do I solve the mentioned error (ImportError: cannot import name 'linux' from 'open3d') ? where this code exists in the first line of the helper_tool.py file. please any help!

youssef962 avatar Sep 05 '21 17:09 youssef962

I am getting the same error when I try to run on Ubuntu18.04.

from open3d import linux as open3d

ImportError: cannot import name 'linux'

Could you find the solution?

bhaskar-anand-iith avatar Sep 15 '21 11:09 bhaskar-anand-iith

I think you need to be using open3d version 0.3.0. I originally had version 0.7.0 and switching to 0.3.0 worked. You may have to use tensorflow version 1.10 or 1.11 as I think the newer versions of tensorflow do not support open3d 0.3.0

ssteele-kraken avatar Sep 16 '21 20:09 ssteele-kraken

@WiNet-Lab-IIT-Hyderabad unfortunately still can't find a solution yet!

youssef962 avatar Sep 23 '21 19:09 youssef962

@WiNet-Lab-IIT-Hyderabad unfortunately still can't find a solution yet!

I encountered the same problem and I solve it by pip install open3d-python==0.3.0 I think it worth a shot.

WMCh avatar Oct 14 '21 03:10 WMCh

Just update to the latest library likepip install open3d --upgrade and not use from open3d import linux as open3d instead use import open3d as open3d

obouluh avatar Jan 11 '22 08:01 obouluh