更新时间:2022-08-25 16:03:48
这个错误可能是因为缺少PGSQL的相关库吧。
网上有很多解决办法,我最终用以下方式解决:
yum install postgresql postgresql-devel python-devel
在linux上安装psycopg2出错--Error: pg_config executable not found.