On Mon, Sep 2, 2013 at 12:27 AM, Filipe Saraiva <m...@filipesaraiva.info>wrote:

>  Hello,
>
> First, thanks for this great library.
>
> My name is Filipe Saraiva, I am developing a python backend for Cantor,
> the KDE mathematical software. More infos can be read in
> http://blog.filipesaraiva.info/?tag=gsoc2013-python-backend (in
> portuguese and english).
>
> Currently I have a problem when I try import pyplot in Cantor. I am using
> Python 2.7.5 and matplotlib 1.3.0. The error is below:
>
> import matplotlib.pyplot as plt
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 98,
> in <module>
>     _backend_mod, new_figure_manager, draw_if_interactive, _show =
> pylab_setup()
>   File
> "/usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py", line
> 25, in pylab_setup
>     globals(),locals(),[backend_name])
>   File
> "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_qt4agg.py",
> line 19, in <module>
>     _decref = ctypes.pythonapi.Py_DecRef
>   File "/usr/lib64/python2.7/ctypes/__init__.py", line 378, in __getattr__
>     func = self.__getitem__(name)
>   File "/usr/lib64/python2.7/ctypes/__init__.py", line 383, in __getitem__
>     func = self._FuncPtr((name_or_ordinal, self))
> AttributeError: kde/bin/cantor: undefined symbol: Py_DecRef
>
> Well, anyone have any idea about how can I fix it?
>
> Thank you,
>
>
My only guess is that there is some sort of linking/build error. Perhaps
the python-qt4 library was built and linked against a different python on
your system?

Cheers!
Ben Root
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to