【问题标题】:pip errors during odoo 10 installation on centos 6.8在 centos 6.8 上安装 odoo 10 期间出现 pip 错误
【发布时间】: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


【解决方案1】:

我找到了这个。

https://www.rosehosting.com/blog/install-odoo-10-on-centos-7-with-apache-as-a-reverse-proxy/

如果您一直关注“安装 Odoo 10”。你有在 centos 上安装 odoo 的方法。

我不确定它是否会起作用,但您可以尝试一下。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-04-20
    • 1970-01-01
    • 2016-12-26
    • 1970-01-01
    • 1970-01-01
    • 2018-04-22
    • 1970-01-01
    • 2018-10-13
    相关资源
    最近更新 更多