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'. --- Comm...
PG_CONFIG是postgresql的配置文件,如果找不到可能是没有安装postgresql,或者配置文件位置不正确,或者没有该配置, 安装sudo pip3 install psycopg2是报错: PG_CONFIG Executable Not Found 检查发现没有安装postgresql, 通过:sudo apt-get install -y postgresql 安装后解决...
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 s...
需要安装postgresql-devel插件 yum install postgresql-devel* 再继续安装就没问题了
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'. Where is p...
Error: pg_config executable not found. 1. 这是因为缺少 PostgreSQL 的开发文件,无法找到 pg_config 程序。 解决方法: 对于Windows 用户,可以下载 PostgreSQL 的预编译二进制包,并在安装过程中选择安装开发文件。 对于Ubuntu 或 Debian 用户,可以运行以下命令来安装 PostgreSQL 的开发文件: ...
Error: pg_config executable not found. ld: library not found for -lssl 1. 2. 3. 安装 # 下载 wget -O psycopg2-2.8.6.tar.gz https://files.pythonhosted.org/packages/fd/ae/98cb7a0cbb1d748ee547b058b14604bd0e9bf285a8e0cc5d148f8a8a952e/psycopg2-2.8.6.tar.gz ...
Error: pg_config executable not found. pg_config is required to build psycopg2 from source. 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...
note:This error originates from a subprocess,and is likely not a problemwithpip...Error:pg_config executable not found. 错误分析: 缺少依赖:psycopg2库依赖于PostgreSQL开发库,而系统中缺少pg_config工具。 四、正确代码示例 为了解决上述问题,我们可以先安装缺少的系统依赖,然后再安装Python库。以下是在Ubuntu...
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'. If you prefer to avoid building psycopg2 from source, please install the PyPI 'psycopg2-binary...