0
I would like to create the target python3
to be used in shebangs. Eg. use the first line #!/usr/bin/env python3
.
What I tried:
setenv python3 PATH_TO_BINARY, also put it into
.cshrc
, echo $python3 shows also path/bin/env NAME=python3 PATH_TO_BINARY, opens python3 but doesn't allow usage of the shebang. The same for /bin/env python3=PATH_TO_BINARY
In case it matters, I would like to solve the following problem:
I'm working on a rhel 6
system were I cannot directly install python3
however I can used it over anaconda3
which is installed at an accessible network resource. Instead of putting the shebang with the absolute path I would like to properly set the python3 path write portable code.
That was it. Thanks for answering my question even though I actually asked the wrong one. – magu_ – 2016-06-17T22:36:15.580