Hi Dave, I work both on Mac OS X and Linux and have Postgres databases.
On Mac OS X I located the pg_config file and added its location to the .bash_profile file: export PATH=/usr/local/bin:$PATH export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.3/bin Then I got pip and installed psycopg2 lionserver:~ userx$ sudo python /Users/userx/Downloads/get-pip.py lionserver:~ userx$ python -m pip install psycopg2 On Linux I ran the following code to install psycopg2 export PATH=/usr/pgsql-9.1/bin/:$PATH mkdir -p ~/lib/python2.7 easy_install-2.7 psycopg2 As far as I know Web2py will always use psycopg2 instead of pg8000 if psycopg2 is installed. I hope this helps you solve the issue. Kind regards, Annet -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/9cb3aadc-51b6-4a3f-a185-c468369d9067%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.