Skip to content

Error when installing open3d for conda environment, missing libomp, seg fault when installed #6196

Open
@ebruun

Description

@ebruun

Checklist

Steps to reproduce the issue

I first create a new conda environement with python 3.10:

conda create -n o3d_test python=3.10

Then, I install open3d:

pip install open3d

Then, I verify installation:

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

Error message

Full terminal output:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/homebrew/anaconda3/envs/o3d_test/lib/python3.10/site-packages/open3d/__init__.py", line 93, in <module>
    from open3d.cpu.pybind import (core, camera, data, geometry, io, pipelines,
ImportError: dlopen(/opt/homebrew/anaconda3/envs/o3d_test/lib/python3.10/site-packages/open3d/cpu/pybind.cpython-310-darwin.so, 0x0002): Library not loaded: /opt/homebrew/opt/libomp/lib/libomp.dylib
  Referenced from: /opt/homebrew/anaconda3/envs/o3d_test/lib/python3.10/site-packages/open3d/cpu/pybind.cpython-310-darwin.so
  Reason: tried: '/opt/homebrew/opt/libomp/lib/libomp.dylib' (no such file), '/usr/local/lib/libomp.dylib' (no such file), '/usr/lib/libomp.dylib' (no such file)

Open3D, Python and System information

- Operating system: macOS 12.0.1
- Python version: Python 3.10.11
- Open3D version: 0.17.0
- System architecture: apple-silicon
- Is this a remote workstation?: no
- How did you install Open3D?: pip
- Compiler version (if built from source): N/A

Additional information

No response

Metadata

Metadata

Labels

bugNot a build issue, this is likely a bug.build/installBuild or installation issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions