[IPython-user] no site file

Fernando Perez fperez.net@gmail....
Fri Feb 9 16:00:30 CST 2007


On 2/9/07, John Hunter <jdh2358@gmail.com> wrote:
> On 2/9/07, Fernando Perez <fperez.net@gmail.com> wrote:
>
> > 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.
>
> That's cause you are using env and not a direct path to python in the
> shebang line, I suspect.  The following works for me
>
> > head -1 ~/dev/bin/ipython
> #!/opt/app/g++lib6/python-2.4/bin/python -S

Ah, thanks.  Yes, it also works here with a direct path.

Mystery solved, and a useful tip learned (this had stumped me a few
times before, but I never suspected the env call might be the culprit;
it will be useful in the future).

Cheers,

f


More information about the IPython-user mailing list