#!/usr/bin/env python should be the normal setting for *nix environments. The idea is that running env sets the appropriate path for which to find the latest version of "python" If that line doesn't work, then you should fix the environment path, not the first line in your scripts.
Wes James wrote: > if you do > > which python > > at the command line what do you get? > > How it is now has always worked on my macs. > > Do you have something weird set in your .bashrc? > > Time for archive and install? > > On Wed, Feb 11, 2009 at 11:11 AM, Kacper Krupa <pageno...@gmail.com> wrote: > >> Hello, >> >> #!/usr/bin/python returns errors on my mac. I had to change it to #!/ >> usr/bin/env python. I think you shoud replace it. >> >> Thanks. >> > > > > -- Timothy Farrell <tfarr...@swgen.com> Computer Guy Statewide General Insurance Agency (www.swgen.com) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---