I am new to web2py but very excited to learn and use it on a long term from 
now. 
I am having trouble starting an interactive shell (I am using Windows 7 OS 
and have installed python2.5 and pywin32 but not ipython as i don't want 
ipython shell). 
I have the latest web2py source copied to C:\. 

C:\web2py>python web2py.py -S welcome -M
Sorry, -K only supported for python 2.6-2.7
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2012
Version 2.3.1 (2012-12-14 15:24:12) stable
Database drivers available: SQLite(sqlite3), MySQL(pymysql), 
PostgreSQL(pg8000), IMAP(imaplib)
WARNING:web2py:import IPython error; use default python shell
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] 
on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>

I get the shell but it does not start the browser. Even if i start the 
browser and enter http://127.0.0.1:8000/welcome/default/index     it 
doesn't work.
But if i try a non-interactive shell such as the following, i am able to 
start the server and see the welcome page...

C:\web2py>python web2py.py
Sorry, -K only supported for python 2.6-2.7
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2012
Version 2.3.1 (2012-12-14 15:24:12) stable
Database drivers available: SQLite(sqlite3), MySQL(pymysql), 
PostgreSQL(pg8000), IMAP(imaplib)
------
I get the pop up window to enter admin password and start the server and 
everything works except an interactive shell...

Please help.
Thank you
Bhaskar





-- 



Reply via email to