【发布时间】:2017-10-06 14:30:44
【问题描述】:
我是 odoo 新手,正在尝试在 CentOS 6.8 上安装 odoo 10 社区版。我正在关注他们的documentation。我被卡住了
"pip install -r requirements.txt"
收到以下错误。
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'.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-5jzK4x/psycopg2
P.S 我已经安装了“python-devel postgresql-devel”
【问题讨论】:
-
那么,pg_config 在你的 PATH 中是可执行的吗?如果你在终端模拟器中输入
pg_config,你会得到任何输出吗? -
嗯,没有 -bash: pg_config: command not found
标签: python postgresql centos pip openerp