知识屋:更实用的电脑技术知识网站
所在位置:首页 > 操作系统 > linux

安装psycopg是出错:Error:pg_config executable not found的解决

发布时间:2014-09-05 15:15:21作者:知识屋

安装psycopg是出错:Error:pg_config executable not found的解决
 
装psycopg是出错
   www.zhishiwu.com  
 执行 python setup.py install
 
Java代码  
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'.  
   www.zhishiwu.com  
需要安装postgresql-devel插件
 
Java代码  
yum install postgresql-devel*  
 
(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)
收藏
  • 人气文章
  • 最新文章
  • 下载排行榜
  • 热门排行榜