HI, I am not sure I should report this as a bug so checking here first if I am doing something wrong.
The following import fails for me since upgrading to Spyder 2.3.1: from PyQt4.QtCore import QString "ImportError: cannot import name QString" I upgraded Spyder via Anaconda when they recently released a new version (which did not update PyQt). I was going to report this problem on their forum first, but then I tried importing from ipython and ipython qtconsole when launched directly from terminal and the imports work fine in these cases. The Spyder ipython interpreter reports the same version of the Python and the Qt packages as when I launch ipython/ipython qtconsole from terminal: Python 2.7.8 |Anaconda 2.1.0 (64-bit)| (default, Aug 21 2014, 18:22:21) Type "copyright", "credits" or "license" for more information. IPython 2.2.0 -- An enhanced Interactive Python. Anaconda is brought to you by Continuum Analytics. Please check out: http://continuum.io/thanks and https://binstar.org ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. from PyQt4.QtCore import QT_VERSION_STR from PyQt4.Qt import PYQT_VERSION_STR from sip import SIP_VERSION_STR print("Qt version:", QT_VERSION_STR) print("SIP version:", SIP_VERSION_STR) print("PyQt version:", PYQT_VERSION_STR) ('Qt version:', '4.8.5') ('SIP version:', '4.15.5') ('PyQt version:', '4.10.4') So I am thinking that Spyder 2.3.1 modifies some setting with the PyQt libraries as they are imported, but I can't detect which one. Any help greatly appreciated. Cheers, Joel -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
