isl-org / isl-org/Open3D

Error while importing python package after building from source (ARM)

Open
#5,371 24 comments 3 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

Hello, I am trying to build Open3D on ARM and am encountering issues when using the pip package built by my system. When importing the pip package I receive an ImportError:
```python
Python 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import open3d
Traceback (most recent call last):
File "", line 1, in
File "/home/orin/.local/lib/python3.8/site-packages/open3d/__init__.py", line 90, in
from open3d.cpu.pybind import (camera, data, geometry, io, pipelines,
ImportError: /home/orin/.local/lib/python3.8/site-packages/open3d/cpu/pybind.cpython-38-aarch64-linux-gnu.so: cannot allocate memory in static TLS block

```

Platform: Nvidia Jetson AGX Orin Dev-Kit:
OS: Ubuntu 20.04 with kernel: `linux ubuntu 5.10.65-tegra`
Open3D version: 0.15.1 (commit: ed30e3b)

I have followed the guide [in the documentation](http://www.open3d.org/docs/release/arm.html) to install dependencies. Currently, I cannot get any built python package to install correctly, but my intent is to eventually build with CUDA support. The pre-built pip package installs and imports correctly.

Is there somewhere I can see the package versions that the ARM wheel was built with so I can use the same versions locally? I am surprised that the locally built python package does not work, because the Open3D GUI I build locally does work correctly.

Any help is appreciated
Thanks!

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.