I was using pg8000 with web2py. Recently I installed psycopg2. But web2py is still using pg8000. What could be the reason? The script to start web2py in admin mode has the following -
source /opt/python2.7/bin/activate which python python -V pip freeze /var/www/web2py/web2py.py -a password -p 8000 Here is the output from script which also prints python version, path and pip freeze before starting web2py. /opt/python2.7/bin/python Python 2.7.5 RunSnakeRun==2.0.4 SquareMap==1.0.3 psycopg2==2.5.2 simplejson==3.3.1 uWSGI==1.9.20 uwsgitop==0.6.2 wsgiref==0.1.2 wxPython==2.8.12.1 wxPython-common==2.8.12.1 web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2014 Version 2.8.2-stable+timestamp.2013.11.28.13.54.07 Database drivers available: SQLite(sqlite3), MySQL(pymysql), PostgreSQL(pg8000), IMAP(imaplib) -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.