isl-org / isl-org/Open3D

undefined symbol: glPopGroupMarkerEXT on import

Open
#4,492 1 comment 1 reaction 0 assignees View on GitHub
build/install visualization
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

**Describe the bug**
When I try to import open3d with `import open3d as o3d`, I get the following error:
```
Traceback (most recent call last):
File "main.py", line 1, in
import open3d as o3d
File "/home/christopher/Development/personal/ml-venv/lib/python3.8/site-packages/open3d/__init__.py", line 57, in
_CDLL(str(next((_Path(__file__).parent / 'cpu').glob('pybind*'))))
File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /home/christopher/Development/personal/ml-venv/lib/python3.8/site-packages/open3d/cpu/pybind.cpython-38-x86_64-linux-gnu.so: undefined symbol: glGetQueryObjectui64v
```

**To Reproduce**
Steps to reproduce the behavior:

1. install open3d from pip or build from source
2. run `python -c "import open3d as o3d"`
3. See error

**Expected behavior**
I expected open3d to be imported without any error.

**Environment (please complete the following information):**

- Operating system: Kubuntu 20.04
- Python version: 3.8
- Open3D version: 0.11 -- 0.14.1 (also development version)
- Is this remote workstation?: no
- How did you install Open3D?: pip, build from source
- Compiler version (if built from source): gcc 9.3.0

**Additional context**
I found similar issues that were already closed: #3647 and #2903. #3647 mentions that it's fine if you install an older version (0.10) with pip, and that works for me too. It also mentions that it works if you build from source, and that is *not* the case for me. Even with built Python binaries, I get the same error.

I tried to install 0.10, 0.11, 0.12, 0.13 and 0.14 using pip, the development version (https://storage.googleapis.com/open3d-releases-master/python-wheels/open3d-0.14.1-cp38-cp38-manylinux_2_27_x86_64.whl), and from the newest source. 0.10 works, but no newer version.

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.