Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

Error when trying to import SurfaceReconstruction

Open umaaaaaaaaa opened this issue 3 years ago • 0 comments
trafficstars

Checklist

Describe the issue

Two months ago I executed the code and it worked. Now I can't run it because Surface Reconstruction is not imported.

Steps to reproduce the bug

!pip install surface_reconstruction
!pip3 install open3d

import open3d as o3d
from surface_reconstruction import SurfaceReconstruction

Error message


ImportError Traceback (most recent call last) in ----> 1 from surface_reconstruction import SurfaceReconstruction

/usr/local/lib/python3.7/dist-packages/surface_reconstruction/init.py in 1 from .singleton_meta import SingletonMeta ----> 2 from .open3d_surface import Open3dSurface

/usr/local/lib/python3.7/dist-packages/surface_reconstruction/open3d_surface.py in 1 import open3d as o3d 2 import numpy as np ----> 3 from open3d.cpu.pybind.geometry import PointCloud, TriangleMesh 4 from .surface_strategy import SurfaceStrategy 5

ImportError: generic_type: type "VerbosityLevel" is already registered!

Expected behavior

No response

Open3D, Python and System information

- Operating system: Ubuntu 20.04 / macOS 10.15 / Windows 10 64-bit
- Python version: Python 3.8 / output from `import sys; print(sys.version)`
- Open3D version: output from python: `print(open3d.__version__)`
- System architecture: x86 / arm64 / apple-silicon / jetson / rpi
- Is this a remote workstation?: yes or no
- How did you install Open3D?: pip / conda / build from source
- Compiler version (if built from source): gcc 7.5 / clang 7.0

Additional information

I found a similar issue (https://github.com/isl-org/Open3D/issues/5439), but there was no answer to it.

umaaaaaaaaa avatar Sep 20 '22 21:09 umaaaaaaaaa