isl-org / isl-org/Open3D

Problem running Open3D on AWS Lambda

Open
#4,933 3 comments 0 reactions 0 assignees View on GitHub
question
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](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch).

### My Question

Hi, I am trying to run Open3D in the AWS Lambda function (python 3.8). The Lambda function has all the necessary libraries installed on the included EFS disk. Like the other libraries Open3D I installed on the EFS disk due to the 250MB layer size limitation. When trying to run it I get an error of missing library "libgomp.so.1". Is it possible to add all the dependencies so that the Lambda function can use them?

I would appreciate any suggestions. :)
Thanks!

{
"errorMessage": "libgomp.so.1: cannot open shared object file: No such file or directory",
"errorType": "OSError",
"stackTrace": [
" File \"/var/lang/lib/python3.8/imp.py\", line 234, in load_module\n return load_source(name, filename, file)\n",
" File \"/var/lang/lib/python3.8/imp.py\", line 171, in load_source\n module = _load(spec)\n",
" File \"\", line 702, in _load\n",
" File \"\", line 671, in _load_unlocked\n",
" File \"\", line 843, in exec_module\n",
" File \"\", line 219, in _call_with_frames_removed\n",
" File \"/var/task/lambda_function.py\", line 14, in \n import open3d as o3d\n",
" File \"/mnt/efs/library/open3d/__init__.py\", line 56, in \n _CDLL(str(next((_Path(__file__).parent / 'cpu').glob('pybind*'))))\n",
" File \"/var/lang/lib/python3.8/ctypes/__init__.py\", line 373, in __init__\n self._handle = _dlopen(self._name, mode)\n"
]
}

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.