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 configuration
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
  4 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
 
Thomas Haslwanter  
View profile  
 More options Oct 6 2012, 10:46 am
From: Thomas Haslwanter <thomas.haslwan...@gmail.com>
Date: Sat, 6 Oct 2012 07:46:29 -0700 (PDT)
Local: Sat, Oct 6 2012 10:46 am
Subject: ipython configuration

Hi,
I have successfully installed WinPython. Also ipython is running.
However, I cannot get the ipython configuration to work. For example,
running on the commandline
"ipython profile create"
simply starts up the ipython qt console.

Another - probably related - problem is the execution of typical
"ipython_config.py": it crashes at the first line, i.e.
c = get_config()
with the message
NameError: name 'get_config' is not defined

Somehow the included "ipython.exe" does not seem to implement the
commandline ipython in the way that I would expect.
Any hints?

thomas


 
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 Oct 7 2012, 4:46 am
From: Pierre Raybaut <pierre.rayb...@gmail.com>
Date: Sun, 7 Oct 2012 10:46:04 +0200
Local: Sun, Oct 7 2012 4:46 am
Subject: Re: ipython configuration
Hi,

2012/10/6 Thomas Haslwanter <thomas.haslwan...@gmail.com>:

> Hi,
> I have successfully installed WinPython. Also ipython is running.
> However, I cannot get the ipython configuration to work. For example,
> running on the commandline
> "ipython profile create"
> simply starts up the ipython qt console.

Just rename the launcher from "IPython.exe" (in WinPython root folder)
to something like "IPython Qt Console.exe" (this is how it will be
named in next release:
http://code.google.com/p/winpython/source/detail?r=c5c894c8b973393d56...)
to avoid a confusion between the IPython Qt console launcher in
"WinPython-2.7.3.1" folder and the IPython script in
"WinPython-2.7.3.1\python-2.7.3\Scripts" folder.

That's what happens here: when you run "ipython profile create" in the
command line, you must have been in WinPython root folder and so the
command window will choose the "IPython.exe" launcher instead of the
"ipython.exe" Python script.

> Another - probably related - problem is the execution of typical
> "ipython_config.py": it crashes at the first line, i.e.
> c = get_config()
> with the message
> NameError: name 'get_config' is not defined

What do you mean by that?
How do you execute this typical "ipython_config.py"?
(I'm not much of an IPython expert...)

-Pierre


 
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.
Thomas Haslwanter  
View profile  
 More options Oct 8 2012, 12:46 pm
From: Thomas Haslwanter <thomas.haslwan...@gmail.com>
Date: Mon, 8 Oct 2012 09:46:07 -0700 (PDT)
Local: Mon, Oct 8 2012 12:46 pm
Subject: Re: ipython configuration

Hello Pierre,

first of all, thank you VERY MUCH for all the effort that you put into
making Python more accessible. I am systematically switching (my students
and myself) from Matlab to Python - and would not/could not have done it
without your efforts. Also, I appreciate it that you provide personal
feedback to so many people getting started with Python!

As for my problem, you were right: it was a mixup between the ipython
console launcher, and the IPython script, and was fixed by running
"ipython" from the "cmd.exe" launched by WinPython. This also fixed the
problem with "get_config not defined".

Best regards - and keep up your good work

thomas


 
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 Oct 8 2012, 5:09 pm
From: Pierre Raybaut <pierre.rayb...@gmail.com>
Date: Mon, 8 Oct 2012 23:06:52 +0200
Local: Mon, Oct 8 2012 5:06 pm
Subject: Re: ipython configuration

Hi Thomas,

Le 8 oct. 2012 à 18:46, Thomas Haslwanter <thomas.haslwan...@gmail.com> a
écrit :

Hello Pierre,

first of all, thank you VERY MUCH for all the effort that you put into
making Python more accessible.

You're welcome!
From the minute I've discovered Python, I systematically tried to share my
experience and to contribute to the community because I immediately
believed in this programming language for scientists/engineers as a
wonderful replacement for MATLAB or IDL. It simply has it all: the features
(even more than the cited commercial alternatives), the power (it can do so
much more) and the fun (from the very beginning, I'm having a lot of fun
programming in Python: actually I'm not programming with it, I'm playing
with it, and it's a game with unlimited possibilities).

So I'm really glad that you appreciate my contributions and that they did
help you and your students.

I am systematically switching (my students and myself) from Matlab to
Python - and would not/could not have done it without your efforts. Also, I
appreciate it that you provide personal feedback to so many people getting
started with Python!

As for my problem, you were right: it was a mixup between the ipython
console launcher, and the IPython script, and was fixed by running
"ipython" from the "cmd.exe" launched by WinPython. This also fixed the
problem with "get_config not defined".

Ok I'm glad we sorted it out.

-Pierre

Best regards - and keep up your good work

thomas

You received this message because you are subscribed to the Google Groups
"WinPython" group.
To unsubscribe from this group, send email to
winpython+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

 
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 »