[IPython-user] no site file

Fernando Perez fperez.net@gmail....
Fri Feb 9 15:41:09 CST 2007


On 2/9/07, John Hunter <jdh2358@gmail.com> wrote:
> On 2/9/07, Fernando Perez <fperez.net@gmail.com> wrote:
>
> > But I just committed r2093 that fixes this.  So if you update SVN, the
> > above will work just fine:
>
> OK that did it, thanks.  But now I feel stupid since I can just edit
> the shebang line of my local ipython svn install directly.

No, you can't, at least under Linux:

planck[~]> head -1 `which ipython`
#!/usr/bin/env python -S
planck[~]> ipython
/usr/bin/env: python -S: No such file or directory

Shebang lines under linux don't admit parameters.  I don't know if
this is a linux quirk or a POSIX requirement.  You can make an alias
for this startup mode, though.

> Thanks for the quick fix!

Glad to help :)

Take care,

f


More information about the IPython-user mailing list