Deploy web2py in windows 10

35 views
Skip to first unread message

Jobin Antony

unread,
Mar 30, 2020, 5:40:34 AM3/30/20
to web2py-users
Could any one please help me to deploy web2py in my Windows 10 PC? 

Jobin Antony

unread,
Mar 30, 2020, 5:53:45 AM3/30/20
to web2py-users


On Monday, March 30, 2020 at 11:10:34 AM UTC+5:30, Jobin Antony wrote:
Could any one please help me to deploy web2py in my Windows 10 PC? 
C:\Users\Jobin>python.exe c:\web2py\web2py.py
Traceback (most recent call last):
  File "c:\web2py\web2py.py", line 8, in <module>
    from multiprocessing import freeze_support
  File "C:\Python27\lib\multiprocessing\__init__.py", line 83, in <module>
    import _multiprocessing
ImportError: DLL load failed: %1 is not a valid Win32 application.

C:\Users\Jobin>python.exe c:\web2py\web2py.exe
  File "c:\web2py\web2py.exe", line 1
SyntaxError: Non-ASCII character '\x90' in file c:\web2py\web2py.exe on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

C:\Users\Jobin> 

Jobin Antony

unread,
Mar 30, 2020, 6:30:44 AM3/30/20
to web2py-users

C:\Users\Jobin>cd c:\web2py

c:\web2py>c:\python27\python.exe web2py.py
Traceback (most recent call last):
  File "web2py.py", line 8, in <module>
    from multiprocessing import freeze_support
  File "c:\python27\lib\multiprocessing\__init__.py", line 83, in <module>
    import _multiprocessing
ImportError: DLL load failed: %1 is not a valid Win32 application.

c:\web2py>
On Monday, March 30, 2020 at 11:10:34 AM UTC+5:30, Jobin Antony wrote:

Jobin Antony

unread,
Mar 30, 2020, 6:31:35 AM3/30/20
to web2py-users
c:\web2py>c:\python27\python.exe web2py.exe
  File "web2py.exe", line 1
SyntaxError: Non-ASCII character '\x90' in file web2py.exe on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

c:\web2py>

On Monday, March 30, 2020 at 11:10:34 AM UTC+5:30, Jobin Antony wrote:

Nico Zanferrari

unread,
Mar 30, 2020, 7:38:46 AM3/30/20
to web...@googlegroups.com
Hi Antony,

since you're using python 2.7, it's much simpler  to download this  latest binary version. Uncompress it and launch the web2py.exe inside - it should work fine and without any hassle.

If you still have problems, check if you're using a 32 bit system (look here for details if needed). And report your python version (python --version) and the web2py version you're using, too.

Nico

--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/d64d4c67-15d4-4798-8448-d1a5b3ee1ee5%40googlegroups.com.

Jobin Antony

unread,
Mar 30, 2020, 8:17:55 AM3/30/20
to web2py-users
Hi Nico,

Thanks for your support Nico.  It works...
You did a great job. Once again Thank you very much.


On Monday, March 30, 2020 at 1:08:46 PM UTC+5:30, Nico Zanferrari wrote:
Hi Antony,

since you're using python 2.7, it's much simpler  to download this  latest binary version. Uncompress it and launch the web2py.exe inside - it should work fine and without any hassle.

If you still have problems, check if you're using a 32 bit system (look here for details if needed). And report your python version (python --version) and the web2py version you're using, too.

Nico

Il giorno lun 30 mar 2020 alle ore 08:31 Jobin Antony <111jobi...@gmail.com> ha scritto:
c:\web2py>c:\python27\python.exe web2py.exe
  File "web2py.exe", line 1
SyntaxError: Non-ASCII character '\x90' in file web2py.exe on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

c:\web2py>

On Monday, March 30, 2020 at 11:10:34 AM UTC+5:30, Jobin Antony wrote:
Could any one please help me to deploy web2py in my Windows 10 PC? 

--
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 web...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages