I've installed web2py via pip in a virtualenv with the --no-site- packages option:
virtualenv --no-site-packages env pip install web2py which gives me version 1.98.2. I added a VERSION file in the root and this got web2py running. I copied admin and my application, which depends on mysql, into the applications directory. I start web2py and admin is working, but my app fails when it tries to connect to the database. I've installed both MySQLdb and pymysql into the virtualenv: (env)[watson@watson-thinkpad web2py_heroku (master)]$ python Python 2.7.1 (r271:86832, Apr 12 2011, 16:15:16) [GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import MySQLdb >>> import pymysql but web2py refuses to recognize either at startup: (env)[watson@watson-thinkpad web2py_heroku (master)]$ env/bin/w2p_run web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2011 1.98.2 Database drivers available: SQLite3 Does anybody know why web2py doesn't see the database drivers? I'm pretty close to having a working web2py on heroku. Thanks, David