python连接postgresql数据库

只需要安装psycopg2这个库就好了,系统为centOS6.3

sudo yum install postgresql-devel.x86_64

sudo pip install -U psycopg2

 

posted @ 2013-06-08 18:57  三更_雨  阅读(331)  评论(0编辑  收藏  举报