Not sure why but:
/usr/bin/env IPYTHONDIR=/tmp/.ipython python
when running from command line works fine. But stuck as a shabang line:
#!/usr/bin/env IPYTHONDIR=/tmp/.ipython python
Environment: Debian 7.8 x86
Anybody has ideas why?
Not sure why but:
/usr/bin/env IPYTHONDIR=/tmp/.ipython python
when running from command line works fine. But stuck as a shabang line:
#!/usr/bin/env IPYTHONDIR=/tmp/.ipython python
Environment: Debian 7.8 x86
Anybody has ideas why?
Unfortunately, #!
passes IPYTHONDIR=/tmp/.ipython python
as a single parameter to /usr/bin/env
.
One thing I have used as a workaround is to have another script that sets up variables and then invokes my real program. It is silly.
Here is some more information: