Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

ModuleNotFoundError: No module named 'open3d.cpu' when Importing Open3D for Jetson

Open Aadityavoru opened this issue 9 months ago • 1 comments

Checklist

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:

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

    python -c "import open3d; print(open3d.__version__)"
    

Error message

**Error Output:**
   The command produces the following traceback:
   
   Traceback (most recent call last):
     File "<string>", line 1, in <module>
     File "/home/motion/.local/lib/python3.10/site-packages/open3d/__init__.py", line 101, in <module>
       from open3d.cpu.pybind import (
   ModuleNotFoundError: No module named 'open3d.cpu'

Open3D, Python and System information

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

Aadityavoru avatar Feb 27 '25 17:02 Aadityavoru