[IPython-user] no site file
Fri Feb 9 16:00:30 CST 2007
On 2/9/07, John Hunter <firstname.lastname@example.org> wrote:
> On 2/9/07, Fernando Perez <email@example.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).
More information about the IPython-user