Pierre, thank you for the credit, but the fix was proposed by https://github.com/minrk in IPython thread I have opened https://github.com/ipython/ipython/issues/1180#issuecomment-3200472
On Wed, Dec 21, 2011 at 3:59 PM, Pierre Raybaut <[email protected]>wrote: > @Boris: thanks for the fix: > > http://code.google.com/p/spyderlib/source/detail?r=011baf0a844f69cea4b2b58159c2d81f5b1c6098 > > @Matt: it is not necessary to set the PyQt API as it should be > automatically here: > http://code.google.com/p/spyderlib/source/browse/spyderlib/spyder.py#20 > So maybe there is something wrong with this test with your > configuration: it should automatically switch to PyQt API v2 (see ? > > About dialog box) if IPython 0.11+ is detected. > Anyway, the "Preferences > Console > External modules > Set PyQt API" > option has nothing to do with it as it concerns Python interpreters > executed in the console plugin, not the Python interpreter which is > executing Spyder itself. > > -Pierre > > 2011/12/19 Matt <[email protected]>: > > There also seems to be a problem with which qt API to use, when loading a > > ipython frontend the internal console errors with > > .... > > File "c:\python27\lib\site-packages\IPython\external\qt.py", line 20, in > > prepare_pyqt4 > > sip.setapi('QString', 2) > > ValueError: API 'QString' has already been set to version 1 > > > > Changing the api to use in the advanced settings seems to have no effect. > > That is why even with the kernel successfully loaded a frontend cannot be > > added to it. In other words the script ipython.py fails on my machine. > > > > > > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "spyder" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > [email protected]. > > For more options, visit this group at > http://groups.google.com/group/spyderlib?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "spyder" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/spyderlib?hl=en. > > -- You received this message because you are subscribed to the Google Groups "spyder" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
