装psycopg是出错
执行 python setup.py install
running build
running build_py
running build_ext
Error: pg_config executable not found.
Please add the directory containing pg_config to the PATH
or specify the full executable path with the option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
or with the pg_config option in 'setup.cfg'.
需要安装postgresql-devel插件
yum install postgresql-devel*
本文介绍了在安装psycopg过程中遇到的pg_config不可用的问题及解决方法。建议通过安装postgresql-devel插件来解决此问题。
6148

被折叠的 条评论
为什么被折叠?



