Error while importing open3d in python3.8

ImportError: /home/sathya/.local/lib/python3.8/site-packages/open3d/linux/open3d.so: undefined symbol: _Py_ZeroStruct

Python 3.8.2
[GCC 9.3.0] on linux

It is working fine under python2.7

By using Conda version of open3d i am able to fix the issue

We’ll support Python 3.8 in the next conda and pip release.

For now, if you have to use Python 3.8, you can compile Open3D from source.

1 Like