Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cython 0.29.14 breaks matplotlib #3269

moubctez opened this issue Dec 11, 2019 · 1 comment

Cython 0.29.14 breaks matplotlib #3269

moubctez opened this issue Dec 11, 2019 · 1 comment


Copy link

@moubctez moubctez commented Dec 11, 2019

Matplotlib built with Cython 0.29.14 (through Numpy) ends with undefinied symbols

$ python3.7 -c 'import matplotlib.dates'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/pkg/lib/python3.7/site-packages/matplotlib/", line 159, in <module>
      import matplotlib.ticker as ticker
    File "/usr/pkg/lib/python3.7/site-packages/matplotlib/", line 174, in <module>
      from matplotlib import transforms as mtransforms
    File "/usr/pkg/lib/python3.7/site-packages/matplotlib/", line 43, in <module>
      from matplotlib._path import (
  ImportError: /usr/pkg/lib/python3.7/site-packages/matplotlib/ Undefined symbol "MPL_matplotlib_backends__tkagg_ARRAY_API" (symnum = 27)

Reverting this change fixes the problem:

The issue has been documented here:

Please, fix. :)


This comment has been minimized.

Copy link

@scoder scoder commented Dec 23, 2019

Thanks for the report. Matplotlib is one of the Python data processing packages that I know does not use Cython at all. Any idea where this issue comes from? What happens at build time that brings Cython into the game and might cause this?

@scoder scoder added the unclear label Jan 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.