Hello- I am programming Python (2.4.1) scripts to run on our Gentoo boxes and am having a bit of trouble I was hoping you could help me with. My file, hello.py looks like this:
#!/usr/bin/python print 'hello, python' I add execute permission to the file and try to run it as follows: myprompt $ ./hello.py and get -bash: ./hello.py: /usr/bin/env: bad interpreter: Permission denied running /usr/bin/python brings up the python shell, so that's in place. What am I missing to run these files (they run fine with I type in 'python' before the filename). BTW, I have the same issue running Perl scripts which is why I'm asking the question here. Thanks for your help, --greg