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?
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...)
> Somehow the included "ipython.exe" does not seem to implement the
> commandline ipython in the way that I would expect.
> Any hints?
> 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.
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".
On Saturday, October 6, 2012 4:46:29 PM UTC+2, Thomas Haslwanter wrote:
> 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?
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".
On Saturday, October 6, 2012 4:46:29 PM UTC+2, Thomas Haslwanter wrote:
> 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 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.