|
From: hgbing2013 <hgb...@gm...> - 2014-05-29 03:35:51
|
I need to embedding matplotlib in pyqt4, i use the below code in my project: from matplotlib.backends.backend_qt4agg \ import FigureCanvasQTAgg as FigureCanvas convert to exe with py2exe, however running exe i got the error: File "matplotlib\backends\backend_qt4agg.pyo", line 19, in <module> File "ctypes\__init__.pyo", line 378, in __getattr__ File "ctypes\__init__.pyo", line 383, in __getitem__AttributeError: function 'Py_DecRef' not found environment in my pc:python2.7PyQt GPL v4.10.3 for Python v2.7 (x32) Thanks robert |