Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
iPython at startup?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Nicholls  
View profile  
 More options Aug 10 2012, 9:01 pm
From: David Nicholls <d...@dcnicholls.com>
Date: Sat, 11 Aug 2012 11:01:15 +1000
Local: Fri, Aug 10 2012 9:01 pm
Subject: iPython at startup?
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Nicholls  
View profile  
 More options Aug 11 2012, 8:49 pm
From: David Nicholls <d...@dcnicholls.com>
Date: Sun, 12 Aug 2012 10:49:30 +1000
Local: Sat, Aug 11 2012 8:49 pm
Subject: Re: [spyder] iPython at startup?
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 <d...@dcnicholls.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pierre Raybaut  
View profile  
 More options Aug 12 2012, 7:17 am
From: Pierre Raybaut <pierre.rayb...@gmail.com>
Date: Sun, 12 Aug 2012 13:17:38 +0200
Local: Sun, Aug 12 2012 7:17 am
Subject: Re: [spyder] iPython at startup?
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 <d...@dcnicholls.com> a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Nicholls  
View profile  
 More options Aug 12 2012, 11:08 am
From: David Nicholls <d...@dcnicholls.com>
Date: Mon, 13 Aug 2012 01:08:35 +1000
Local: Sun, Aug 12 2012 11:08 am
Subject: Re: [spyder] iPython at startup?
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 <pierre.rayb...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pierre Raybaut  
View profile  
 More options Aug 13 2012, 6:20 am
From: Pierre Raybaut <pierre.rayb...@gmail.com>
Date: Mon, 13 Aug 2012 12:20:33 +0200
Local: Mon, Aug 13 2012 6:20 am
Subject: Re: [spyder] iPython at startup?
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 <d...@dcnicholls.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Nicholls  
View profile  
 More options Aug 13 2012, 8:35 am
From: David Nicholls <d...@dcnicholls.com>
Date: Mon, 13 Aug 2012 22:35:41 +1000
Local: Mon, Aug 13 2012 8:35 am
Subject: Re: [spyder] iPython at startup?
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 <pierre.rayb...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pierre Raybaut  
View profile  
 More options Aug 13 2012, 12:37 pm
From: Pierre Raybaut <pierre.rayb...@gmail.com>
Date: Mon, 13 Aug 2012 18:37:46 +0200
Local: Mon, Aug 13 2012 12:37 pm
Subject: Re: [spyder] iPython at startup?
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 <d...@dcnicholls.com> a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Nicholls  
View profile  
 More options Aug 13 2012, 7:11 pm
From: David Nicholls <d...@dcnicholls.com>
Date: Tue, 14 Aug 2012 09:11:50 +1000
Local: Mon, Aug 13 2012 7:11 pm
Subject: Re: [spyder] iPython at startup?
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 <pierre.rayb...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carlos Córdoba  
View profile  
 More options Aug 14 2012, 9:59 am
From: Carlos Córdoba <ccordob...@gmail.com>
Date: Tue, 14 Aug 2012 08:59:32 -0500
Local: Tues, Aug 14 2012 9:59 am
Subject: Re: [spyder] iPython at startup?
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ó:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Nicholls  
View profile  
 More options Aug 14 2012, 10:03 am
From: David Nicholls <d...@dcnicholls.com>
Date: Wed, 15 Aug 2012 00:03:54 +1000
Local: Tues, Aug 14 2012 10:03 am
Subject: Re: [spyder] iPython at startup?
OK, thanks, Carlos.

DN

On 14/08/2012, at 11:59 PM, Carlos Córdoba <ccordob...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Nicholls  
View profile  
 More options Aug 14 2012, 10:06 am
From: David Nicholls <d...@dcnicholls.com>
Date: Wed, 15 Aug 2012 00:06:49 +1000
Local: Tues, Aug 14 2012 10:06 am
Subject: Re: [spyder] iPython at startup?
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 <ccordob...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carlos Córdoba  
View profile  
 More options Aug 14 2012, 10:15 am
From: Carlos Córdoba <ccordob...@gmail.com>
Date: Tue, 14 Aug 2012 09:15:28 -0500
Local: Tues, Aug 14 2012 10:15 am
Subject: Re: [spyder] iPython at startup?
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ó:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rinaldo  
View profile  
 More options Feb 8, 8:38 am
From: Rinaldo <mail4rina...@googlemail.com>
Date: Fri, 8 Feb 2013 05:38:40 -0800 (PST)
Local: Fri, Feb 8 2013 8:38 am
Subject: Re: [spyder] iPython at startup?

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!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »