Get the following error when running web2py with nginx
S"<type 'exceptions.ImportError'> Cannot import module 
The error is related to the following line in
import pytz

Exactly the same installation works fine with Rocket. Also starting 
interactive console works fine:
$ sudo python -S welcome
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2016
Version 2.14.6-stable+timestamp.2016.
Database drivers available: sqlite3, psycopg2, pg8000, pymysql, imaplib
WARNING:web2py:import IPython error; use default python shell
Python 2.7.12 (default, Jul  1 2016, 15:12:24)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytz

Running on ubuntu 16.04-amd64-server
Linux myserver 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 
x86_64 x86_64 x86_64 GNU/Linux

- (Documentation)
- (Source code)
- (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 
For more options, visit

Reply via email to