I really want to learn Web2py and get it working on my P.C.

I have LinuxMint17 (a Ubuntu derivative); Python2.7 was installed; I 
installed python-web2py.

Trying to follow the documentation.


When I type *python web2py.py -S welcome* into my terminal I get:

python: can't open file 'web2py.py': [Errno 2] No such file or directory


My  $PYTHONPATH shows:

bash: :/usr/bin:/usr/share/web2py: *No such file* or directory

       $PATH shows: 

bash: 
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:
 
No such file or directory


When I type * python /usr/bin/web2py -S welcome* I get


 web2py Web Framework 

Created by Massimo Di Pierro, Copyright 2007-2011 

Version 1.99.7 (2012-03-04 22:12:08) stable 

Database drivers available: SQLite3, pymysql, psycopg2, pg8000, IMAP 

ERROR:web2py.cache:corrupted file applications/welcome/cache/cache.shelve, 
will try delete it! 

WARNING:web2py.cache:*unable to delete* file 
applications/welcome/cache/cache.shelve 

WARNING:web2py:import IPython error; use default python shell 

Python 2.7.6 (default, Mar 22 2014, 22:59:38) 

[GCC 4.8.2] on linux2 

Type "help", "copyright", "credits" or "license" for more information. 

(InteractiveConsole) 

>>> 


 I assumed the cashe was protected, so I changed the owner from * root* to 
user * paul* (me) on all directories and files below /usr/share/web2py/ but 
I get the same thing


 However, when I type* python /usr/bin/web2py* I get 

python /usr/bin/web2py

web2py Web Framework 

Created by Massimo Di Pierro, Copyright 2007-2011 

Version 1.99.7 (2012-03-04 22:12:08) stable 

Database drivers available: SQLite3, pymysql, psycopg2, pg8000, IMAP 

Starting hardcron... 


 and the server starts


 What am I doing wrong? Why won't* python web2py.py -S welcome* work, as 
stated in the documentation?


 Thanks for any help


 Paul


 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to