pip找不到ibpq-fe.h头文件的解决方案

控制台错误信息

1
libpq-fe.h: No such file or directory

解决方法很简单,安装postgresql-devel:

1
yum install postgresql-devel

问题解决。