读书人

装配psycopg是出错:Error: pg_config

发布时间: 2013-02-15 15:46:56 作者: rapoo

安装psycopg是出错:Error: pg_config executable not found.

装psycopg是出错

?

?执行 python setup.py install

?

running buildrunning build_pyrunning build_extError: pg_config executable not found.Please add the directory containing pg_config to the PATHor 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*

?

读书人网 >Ruby Rails

热点推荐