I just finished setup of kubuntu on an old laptop and ported my
project to it. However, when I try to start web2py with:
python web2py.py --password test
I get the error:
Traceback (most recent call last):
File "web2py.py", line 16, in <module>
import gluon.widget
File "/home/arbie/cvstash/gluon/widget.py", line 24, in <module>
import main
File "/home/arbie/cvstash/gluon/main.py", line 80, in <module>
from globals import Request, Response, Session
File "/home/arbie/cvstash/gluon/globals.py", line 18, in <module>
from compileapp import run_view_in
File "/home/arbie/cvstash/gluon/compileapp.py", line 24, in <module>
from sql import BaseAdapter, SQLDB, SQLField, DAL, Field
File "/home/arbie/cvstash/gluon/sql.py", line 5, in <module>
from dal import DAL, Field, Table, Query, Set, Expression, Row,
Rows, drivers, BaseAdapter, SQLField, SQLTable, SQLXorable, SQLQuery,
SQLSet, SQLRows, SQLStorage, SQLDB, GQLDB, SQLALL, SQLCustomType
ImportError: No module named dal
It has the default python2.7 as well as other needed packages (build-
essentials, python-dev). I don“t remember trying to install extra
stuff on my other machine just to get web2py running. I searched
around and this was never posted before.
Any help is appreciated. Thanks!