From: Xavier G. <xav...@gm...> - 2011-01-03 19:01:27
|
On 01/03/2011 05:29 PM, Ryan May wrote: > On Mon, Jan 3, 2011 at 9:28 AM, Darren Dale<dsd...@gm...> wrote: >> On Mon, Jan 3, 2011 at 9:45 AM, Ryan May<rm...@gm...> wrote: >>> On Sun, Jan 2, 2011 at 12:24 PM, Xavier Gnata<xav...@gm...> wrote: >>>> "/usr/local/lib/python3.1/dist-packages/matplotlib/backends/qt4_editor/formlayout.py", >>>> line 59, in<module> >>>> from PyQt4.QtCore import (Qt, SIGNAL, SLOT, QSize, QString, >>>> ImportError: cannot import name QString >>>> >>>> Looks like this backend hasn't been ported yet. >>> I remember seeing this on Gentoo and, unfortunately, never tracked it >>> down. However, it seems to me this is a problem with your PyQt4 >>> install and Python 3, as QString should be found. >> It's not a problem with the PyQt4 installation. PyQt on python-3 uses >> PyQt's new API, which uses python strings and does not provide >> QString, QChar, and friends. >> http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#selecting-incompatible-apis > I stand corrected. I don't know what's worse, being so blatently > wrong, or having wasted a bunch of time in the past trying to "fix" a > "broken" install. > > Time to don ye olde paper bag... > > Ryan > ok. It means that the qt4 backend need to be ported to python3. Should I try the tk backend ? What's the plan? First port matplotlib core? Focus on one backend? What do you want us to test? How should we report python3 related bugs? Xavier |