Import error: undefined symbol: _Py_ZeroStruct

Issue #380 wontfix
Niklas Stannartz created an issue

When importing gtsam with python3.5 I get the following error message "ImportError: /path/to/gtsam/build/cython/gtsam/gtsam.so: undefined symbol: _Py_ZeroStruct" . When importing with python2.7 everything works fine.

This post mentions that is probably a linking issue. Is it possible to build gtsam implying that it links to python3.5 ?

Thanks!

Comments (2)

  1. Frank Dellaert

    Python versioning is a complicated thing, so I have no idea. If you fix by changing something in GTSAM please submit a PR with the explanation. Thanks !!!

  2. Log in to comment