hello, I experience the same problem.
spyder 2.1.10-1 IPython 0.13.1 - Open IPython interpreter: works but doesn't load pylab. - Start a new Ipython kernel gives me: [IPKernelApp] To connect another client to this kernel, use: [IPKernelApp] --existing kernel-32516.json [... some errors ...] ValueError: API 'QString' has already been set to version 1 In preferences-console-advanced: - open IPython interpreter at startup is grayed out - start a new Ipython kernel at startup can be checked but produces the above errors at startup What I would like is to start spyder with a working ipython console and pylab. or if this is not possible at least be able to have pylab loaded into the new ipython console. thanks! On Tuesday, August 14, 2012 4:15:28 PM UTC+2, Carlos Córdoba wrote: > > The problem doesn't lie in IPython but it's our fault, not about how we > integrated IPython with Spyder but about how we show that particular > option to the end user. We just phrased it incorrectly. Instead of > saying "Start an IPython kernel at startup" we could have just left > "Open an IPython interpreter at startup". We decided to use the first > one because it seemed closer to how IPython actually works. > > El 14/08/12 09:06, David Nicholls escribió: > > But perhaps I can ask one more question: what characteristic of iPython > 0.10 allows it to operate so that the "open iPython interpreter at startup" > is allowed, compared to later versions of iPython where the option is not > allowed? > > > > DN > > > > On 14/08/2012, at 11:59 PM, Carlos Córdoba > > <[email protected]<javascript:>> > wrote: > > > >> David, if you check the option "Start an IPython kernel at startup", > Spyder will also open an IPython interpreter automatically, which is > connected to that kernel. The option "Open an IPython interpreter at > startup" is grayed out because it only works for IPython 0.10. > >> > >> I think things are a bit confusing if you don't know how IPython works. > The kernel is the process in charge of running python code, and the > interpreter (or client or frontend) is just the interface from which that > code is sent. > >> > >> We need to start a kernel inside the external console (as opposed to > doing it as a background job) because that's the only way to connect it > with our Variable Explorer and Object Inspector. > >> > >> Hope this clarifies things for you, > >> Carlos > >> > >> El 13/08/12 18:11, David Nicholls escribió: > >>> Maybe I didn't express myself clearly, iPython works fine in the > console, and I use it all the time, but I just can't tell Spyder to run an > iPython interpreter at startup, I have to start it manually from the > Console controls. > >>> > >>> DN > >>> > >>> On 14/08/2012, at 2:37 AM, Pierre Raybaut > >>> <[email protected]<javascript:>> > wrote: > >>> > >>>> Well then I've already answered in a way: if you want IPython support > >>>> in Spyder's console, you must downgrade your IPython installation to > >>>> v0.10. > >>>> > >>>> -Pierre > >>>> > >>>> Le 13 août 2012 à 14:35, David Nicholls > >>>> <[email protected]<javascript:>> > a écrit : > >>>> > >>>>> Yes, I can "start up an iPython kernel" OK, but I wanted to open an > iPython interpreter on start up, and it's the latter preference that's > greyed out. (This happens on two different Spyder 2.1.11 installations one > using iPython 0.13, the other iPython 0.12.1) > >>>>> > >>>>> The reason I want the interpreter, not the kernel, is that > Matplotlib graphics are displayed inline in the console with an iPython > interpreter, and I want the extra interactive controls that a separate > Matplotlib window allows. > >>>>> > >>>>> DN > >>>>> > >>>>> On 13/08/2012, at 8:20 PM, Pierre Raybaut > >>>>> <[email protected]<javascript:>> > wrote: > >>>>> > >>>>>> I've just checked with Spyder v2.1.11, in Preferences > Console > > >>>>>> Advanced settings, you may check "Start an IPython kernel at > startup" > >>>>>> for IPython 0.12+ and "Open an IPython interpreter at startup" for > >>>>>> IPython 0.10. > >>>>>> > >>>>>> So if you are using IPython v0.11, you'll have to upgrade to v0.12. > >>>>>> > >>>>>> -Pierre > >>>>>> > >>>>>> 2012/8/12 David Nicholls <[email protected] <javascript:>>: > >>>>>>> I'm using Spyder 2.1.11 and it does behave as you say. > >>>>>>> > >>>>>>> iPython works, it's just not possible to start automatically with > an iPython interpreter in the Console window. > >>>>>>> > >>>>>>> In v2.2, will opening an iPython window in the Console at startup > be possible? > >>>>>>> > >>>>>>> DN > >>>>>>> > >>>>>>> On 12/08/2012, at 9:17 PM, Pierre Raybaut > >>>>>>> <[email protected]<javascript:>> > wrote: > >>>>>>> > >>>>>>>> What version of Spyder are you using? > >>>>>>>> > >>>>>>>> Full support of IPython 0.11-0.13 is already implemented in > Spyder > >>>>>>>> v2.1.11 and v2.2.0dev (latest revision of default repository), > but not > >>>>>>>> through Spyder's console plugin: > >>>>>>>> * v2.1: you have to open a new IPython kernel via the console > plugin > >>>>>>>> menu and then an IPython frontend is opened automatically as a > >>>>>>>> separate dockwidget (there is an option to open a new kernel at > >>>>>>>> startup, that's what you are asking for) > >>>>>>>> * v2.2: a plugin dedicated to IPython 0.11+ has been implemented, > the > >>>>>>>> "IPython console" plugin (there is an option to open an IPython > >>>>>>>> console at startup too) > >>>>>>>> > >>>>>>>> Cheers > >>>>>>>> -Pierre > >>>>>>>> > >>>>>>>> Le 12 août 2012 à 02:49, David Nicholls > >>>>>>>> <[email protected]<javascript:>> > a écrit : > >>>>>>>> > >>>>>>>>> No answer yet, so I thought I'd add the following. > >>>>>>>>> > >>>>>>>>> When I mouse over the greyed-out preferences option, it says > "This option is not available for iPython versions which are not fully > supported through Spyder's console (i.e. iPython v0.11+)" > >>>>>>>>> > >>>>>>>>> Since we're now at least at iPython v0.13, this seems like quite > a gap in Spyder's capability. > >>>>>>>>> > >>>>>>>>> The reason for both Spyder and iPython is to make the whole > process more efficient, and both do this very well. > >>>>>>>>> > >>>>>>>>> Will there be proper iPython integration into the Spyder > console? > >>>>>>>>> > >>>>>>>>> DN > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> On 11/08/2012, at 11:01 AM, David Nicholls > >>>>>>>>> <[email protected]<javascript:>> > wrote: > >>>>>>>>> > >>>>>>>>>> I invariably use the iPython interpreter, and I'd like it to > start up immediately I open Spyder. The prefs has a check box titled "Open > an iPython interpreter at startup" but it is greyed out. How do I fix > this? (using the latest Macports Spyder). > >>>>>>>>>> > >>>>>>>>>> DN > >>>>>>>>>> > >>>>>>>>> -- > >>>>>>>>> You received this message because you are subscribed to the > Google Groups "spyder" group. > >>>>>>>>> To post to this group, send email to > >>>>>>>>> [email protected]<javascript:>. > > >>>>>>>>> To unsubscribe from this group, send email to > [email protected] <javascript:>. > >>>>>>>>> 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]<javascript:>. > > >>>>>>>> To unsubscribe from this group, send email to > [email protected] <javascript:>. > >>>>>>>> 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]<javascript:>. > > >>>>>>> To unsubscribe from this group, send email to > [email protected] <javascript:>. > >>>>>>> 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]<javascript:>. > > >>>>>> To unsubscribe from this group, send email to > [email protected] <javascript:>. > >>>>>> 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]<javascript:>. > > >>>>> To unsubscribe from this group, send email to > [email protected] <javascript:>. > >>>>> 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]<javascript:>. > > >>>> To unsubscribe from this group, send email to > [email protected] <javascript:>. > >>>> 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]<javascript:>. > > >> To unsubscribe from this group, send email to > [email protected] <javascript:>. > >> 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 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
