装配psycopg是出错:Error: pg_config executable not found

来源:互联网 发布:微电网储能优化 编辑:程序博客网 时间:2024/05/16 12:50
安装psycopg是出错:Error: pg_config executable not found.

  装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*

0 0
原创粉丝点击