【记录psycopg2安装报错(centos7)】教程文章相关的互联网学习教程文章

记录psycopg2安装报错(centos7)【代码】

Downloading/unpacking psycopg2 Downloading psycopg2-2.5.4.tar.gz (682kB): 682kB downloaded Running setup.py (path:/home/ql/.pyenv/versions/py2/build/psycopg2/setup.py) egg_info for package psycopg2Error: 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_confi...

记录psycopg2安装报错(centos7)【代码】

Downloading/unpacking psycopg2 Downloading psycopg2-2.5.4.tar.gz (682kB): 682kB downloaded Running setup.py (path:/home/ql/.pyenv/versions/py2/build/psycopg2/setup.py) egg_info for package psycopg2Error: 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_confi...

python – 无法在centos上安装psycopg2【代码】

我使用pip和easy_install. 我收到此错误消息:Downloading/unpacking psycopg2Running setup.py egg_info for package psycopg2error: invalid Python installation: unable to open /usr/include/python2.6/pyconfig.h (No such file or directory)Complete output from command python setup.py egg_info:running egg_infowriting pip-egg-info/psycopg2.egg-info/PKG-INFOwriting top-level names to pip-egg-info/psycopg2.egg...