ModuleNotFoundError: No module named 'open3d.cpu' when Importing Open3D for Jetson
- 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
### ModuleNotFoundError: No module named 'open3d.cpu' after Building Open3D on aarch64
#### Description
After building Open3D on my ARM64 (aarch64) Ubuntu system on a Jetson Orin with Python 3.10, I encounter an error when attempting to import the Open3D module. The build process completes without any fatal errors, but the module `open3d.cpu` cannot be found at runtime. I used the fork by @henryrobbins and there seems to be no compilation errors at least on the CPP side.
#### Steps to Reproduce
1. **Build Open3D:**
```bash
# In the Open3D build directory
removing build/bdist.linux-aarch64/wheel
pip wheel created at /home/motion/Open3D/build/lib/python_package/pip_package
[100%] Built target pip-package
WARNING: Skipping open3d as it is not installed.
WARNING: Skipping open3d-cpu as it is not installed.
Defaulting to user installation because normal site-packages is not writeable
Processing /home/motion/Open3D/build/lib/python_package/pip_package/open3d-0.19.0+c6d474b3-cp310-cp310-manylinux_2_35_aarch64.whl
```
2. **Import Open3D:**
Run the following command:
```bash
python -c "import open3d; print(open3d.__version__)"
```
### Error message
```shell
**Error Output:**
The command produces the following traceback:
Traceback (most recent call last):
File "", line 1, in
File "/home/motion/.local/lib/python3.10/site-packages/open3d/__init__.py", line 101, in
from open3d.cpu.pybind import (
ModuleNotFoundError: No module named 'open3d.cpu'
```
### Open3D, Python and System information
```markdown
#### Expected Behavior
I expect the command to successfully import Open3D and print its version number.
#### Actual Behavior
The import fails with a `ModuleNotFoundError` for `open3d.cpu`.
#### Environment
- **OS:** Ubuntu (aarch64)
- **Python Version:** 3.10
- **Open3D Version:** 0.19.0+c6d474b3 (built from source)
- **Installation Path:** `/home/motion/.local/lib/python3.10/site-packages/open3d/`
- **CUDA version:** 12.6
```
### Additional information
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.