On Saturday, March 4, 2017 at 10:50:41 PM UTC-8, Paul Ellis wrote: > > Hi Anthony, > > I am using Windows 10 and have replaced web2py.py with web2py.exe and am > getting this error: > > python web2py.exe -s [application] -m > SyntaxError: Non-ASCII character '\x90' in file web2py.exe on line 1, but > no encoding declared; see http://python.org/dev/peps/pep-0263/ for details > > I have also tried: > python web2py.exe > > e:\web2py\py web2py.exe > this gives a traceback, but the same error: > Traceback (most recent call last): > File "<string>", line 6, in <module> > File "__main__.py", line 126, in <module> > File "__main__py__.py", line 60, in <module> > File "web2py.exe", line 1 > SyntaxError: Non-ASCII character '\x90' in file web2py.exe on line 1, but > no encoding declared; see http://python.org/dev/peps/pep-0263/ for details > > What am I doing wrong? > > Cheers > > Leave off the "python ". Web2py*.exe* has it's python built-in, and is wrapped with a launcher, hence the .exe.
/dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.