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


安装psycopg是出错:Error:pg_config executable not found的解决
 
装psycopg是出错
   www.2cto.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.2cto.com  
需要安装postgresql-devel插件
 
Java代码  
yum install postgresql-devel*  
 

相关内容

    暂无相关文章