Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

Problem running Open3D on AWS Lambda

Open KrzysztofKulik opened this issue 3 years ago • 3 comments

Checklist

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" ] }

KrzysztofKulik avatar Mar 27 '22 15:03 KrzysztofKulik