Skip to content

open3d initialization failed Prompt:UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 4-5: invalid continuation byte #6756

Open
@979602732

Description

@979602732

Checklist

Steps to reproduce the issue

cmake --build . --config Release --target ALL_BUILD
cmake --build . --config Release --target INSTALL
cmake --build . --config Release --target install-pip-package
python -c "import open3d; print(open3d)"

Error message

UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 4-5: invalid continuation byte

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\anaconda3\lib\site-packages\open3d\__init__.py", line 73, in <module>
    from open3d.cuda.pybind import (core, camera, data, geometry, io,
ImportError: initialization failed
python-BaseException
[Open3D INFO] Memory Statistics: (Device) (#Malloc) (#Free)
[Open3D INFO] ---------------------------------------------
[Open3D WARNING] CPU:0: 9 7 --> 2 with 256 total bytes
[Open3D WARNING]     0x181b34c31b0 @ 128 bytes
[Open3D WARNING]     0x181b34c7260 @ 128 bytes
[Open3D INFO] ---------------------------------------------

Process finished with exit code 1

Open3D, Python and System information

- Operating system: Windows 11 64-bit  cuda 11.8 
- Python version: Python 3.10
- Open3D version: 0.18
- System architecture: x86 
- Is this a remote workstation: no
- How did you install Open3D: build from source
- Compiler version (if built from source):VS2019

Additional information

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    build/installBuild or installation issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions