Open3D
Open3D copied to clipboard
Error when trying to import SurfaceReconstruction
Checklist
- [X] I have searched for similar issues.
- [X] For Python issues, I have tested with the latest development wheel.
- [X] I have checked the release documentation and the latest documentation (for
masterbranch).
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)
/usr/local/lib/python3.7/dist-packages/surface_reconstruction/init.py in
/usr/local/lib/python3.7/dist-packages/surface_reconstruction/open3d_surface.py in
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.