Re: [LIP] Problem executing scripts Bad Interpreter
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
Hi, > "-bash: ./configure: /bin/bash: bad interpreter: Permission denied" > > with "/bin/bash" and also "/usr/bin/env python". I have checked the file > permissions to be executable by all. The strange thing is that I am able > to run the script by saying "python <scriptname>" and not by > ./scriptname(for the python script containing #!/usr/bin/env python at the Can you check if you have a Unix '\n' at the end of the first shebang line and not something else like a Windows '\r\n'? I have personally seen this 'bad interpreter' error because of this. Hope this helps, Swaroop www.python.g2swaroop.net ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click