python - 在 centos 6.8 上安装 odoo 10 期间出现 pip 错误

标签 python postgresql centos pip openerp

我是 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”

最佳答案

我找到了这个。

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

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

我不确定它会起作用,但你可以试试。

关于python - 在 centos 6.8 上安装 odoo 10 期间出现 pip 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43850164/

相关文章:

Python文本挖掘

php - Postgres : update all values in column by one?

linux - Mac 上的 Docker 分离了内部和外部文件所有权;在 Linux 上不是这样

python - 根据另一个特定列显示特定列的缺失值

python - cursor.copy_from 在 postgres 中失败

java - 来自 ConstraintViolationException 的特定信息

python - 异常值 :attempt to write a readonly database Centos 8 Apache webserver Python 3. 6

python - 重启后 init.d 自动启动 python 脚本 (Centos)

python - python 的 BaseHTTPRequestHandler 中 connfd(在 C 中创建的套接字)的等价物在哪里

postgresql - Liquibase 差异 - 驱动程序问题