Hi Anthony, thank you very much for your kind help. Is there somewhere a step-by-step procedure for someone like me, at its beginnig of his journey?
I added in the PATH environment variable all folders path but it still doesn't work.... Marco Il giorno domenica 16 giugno 2013 19:10:03 UTC+2, Anthony ha scritto: > > You should also add the Python folders to your PATH environment variable > -- something like: > > C:\Python27\;C:\Python27\Scripts > > Anthony > > On Sunday, June 16, 2013 11:40:38 AM UTC-4, Marco Ippolito wrote: >> >> Hi Anthony, >> thank you for your kind help >> >> pywin32 installed, >> >> as you can see from the pdf file I attached I created a PYTHONPATH >> environment variable with web2py folder path: >> , >> >> and in cmd prompt I did >> "cd web2py" >> "python web2py.py" but doesn't work >> >> What do I miss? >> >> Marco >> >> >> Il giorno domenica 16 giugno 2013 16:37:48 UTC+2, Anthony ha scritto: >>> >>> You don't start web2py from a Python shell -- instead, open a command >>> prompt and do: >>> >>> > cd path\to\web2py >>> > python web2py.py >>> >>> Make sure you have pywin32 >>> <http://sourceforge.net/projects/pywin32/>installed. Also, you may need to >>> create a PYTHONPATH environment variable >>> and add your web2py folder path to it. >>> >>> Anthony >>> >>> On Sunday, June 16, 2013 9:49:43 AM UTC-4, Marco Ippolito wrote: >>>> >>>> Hi everybody, >>>> before I installed the binary version of web2py but didn't manage to >>>> make it starting as windows service. >>>> >>>> So I decided to install the source version of web2py. >>>> I extracted web2py_src file in C:\ >>>> Following the instructions on web2y site "To run from source, type: >>>> >>>> > >>>> >>>> python2.5 web2py.py " >>>> >>>> I typed in python2.7 shell "web2py.py" >>>> but nothing happened. >>>> >>>> in web2py directory the file "web2py.py" contains the following: >>>> "#!/usr/bin/env python >>>> # -*- coding: utf-8 -*- >>>> >>>> import os >>>> import sys >>>> >>>> if '__file__' in globals(): >>>> path = os.path.dirname(os.path.abspath(__file__)) >>>> elif hasattr(sys, 'frozen'): >>>> path = os.path.dirname(os.path.abspath(sys.executable)) # for >>>> py2exe >>>> else: # should never happen >>>> path = os.getcwd() >>>> os.chdir(path) >>>> >>>> sys.path = [path] + [p for p in sys.path if not p == path] >>>> >>>> # import gluon.import_all ##### This should be uncommented for py2exe.py >>>> import gluon.widget >>>> >>>> # Start Web2py and Web2py cron service! >>>> if __name__ == '__main__': >>>> try: >>>> from multiprocessing import freeze_support >>>> freeze_support() >>>> except: >>>> sys.stderr.write('Sorry, -K only supported for python >>>> 2.6-2.7\n') >>>> if os.environ.has_key("COVERAGE_PROCESS_START"): >>>> try: >>>> import coverage >>>> coverage.process_startup() >>>> except: >>>> pass >>>> gluon.widget.start(cron=True) " >>>> >>>> What do I have to do? >>>> >>>> Thank you in advance for your kind help >>>> Marco >>>> >>> -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

