python连接postgresql数据库 只需要安装psycopg2这个库就好了,系统为centOS6.3 sudo yum install postgresql-devel.x86_64 sudo pip install -U psycopg2