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

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to