Python连接postgreSQL驱动,适合Python连接PG、人大金仓和OpenGauss数据库,安装步骤如下:1.下载psycopg2-2.9.3.tar.gz文件;2.解压并进入目录/usr/local/src/psycopg2-2.9.3;3.执行命令python3 setup.py build;4.执行命令python3 setup.py install。享受Python连接多种数据库的便利吧!