[IPython-user] Running with pythonw
B.P.S.Thurin at city.ac.uk
Tue Jul 26 09:34:53 CDT 2005
I figure it out:
I changed the first line of the /usr/local/bin/ipython from
+ #!/usr/bin/env /usr/bin/pythonw
I found the trick here:
On 26 Jul 2005, at 14:37, Brice Thurin wrote:
> Dear all,
> I installed recently ipython on a Mac under Mac OSX panther. I
> followed the instruction to use it with wx GUI.
> When I looked at my ipython file in /usr/local/bin, I've got the right
> first line:
> But when I run it with the -pylab option, I got the following message:
> This program needs access to the screen. Please run with 'pythonw',
> not 'python', and only when you are logged in on the main display of
> your Mac.
> So, I am a bit confused.
> The only way, i found to run it is to run first pythonw and then
> import IPyhton.
> Unfortunately, the interactive mode is not working properly, when I
> use this way, as I don't know how to launch with the pylab option,
> with this way.
> I thank you in advance for your help.
> Brice Thurin
> Department of Optometry and Visual Science
> City University, Northampton Square
> London, EC1V 0HB, UK.
> Tel: +44 (0)20 7040 4157
> Fax: +44(0)20 7040 8355
> e-mail: B.P.S.Thurin at city.ac.uk
> IPython-user mailing list
> IPython-user at scipy.net
Department of Optometry and Visual Science
City University, Northampton Square
London, EC1V 0HB, UK.
Tel: +44 (0)20 7040 4157
Fax: +44(0)20 7040 8355
e-mail: B.P.S.Thurin at city.ac.uk
More information about the IPython-user