isl-org / isl-org/Open3D

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

Open
#6,756 5 comments 0 reactions 0 assignees View on GitHub
build/install
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).

### 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

```shell
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 "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\anaconda3\lib\site-packages\open3d\__init__.py", line 73, in
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

```markdown
- 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](https://github.com/isl-org/Open3D/assets/75673127/8347c010-41dc-45a1-9d2d-8b3574a717ee)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.