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