On Mon, Jan 3, 2011 at 9:28 AM, Darren Dale <dsdal...@gmail.com> wrote: > On Mon, Jan 3, 2011 at 9:45 AM, Ryan May <rma...@gmail.com> wrote: >> On Sun, Jan 2, 2011 at 12:24 PM, Xavier Gnata <xavier.gn...@gmail.com> 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 -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users