如果PostgreSQL已经安装,但你还是遇到了“command not found”的错误,可能是因为pg_config的路径没有添加到你的系统环境变量中。你可以使用find命令来查找pg_config的路径: bash sudo find / -name pg_config 这个命令会在整个文件系统中搜索名为pg_config的文件,并返回它的路径。 确保pg_config的路径被添加到环境...
$ pg_config-bash: pg_config: command not found Solution 安装缺少的postgresql-devel包 # yuminstallpostgresql-devel
$ pg_config-bash: pg_config: command not found Solution 安装缺少的postgresql-devel包 # yuminstallpostgresql-devel
$ npm install pg / > pg@3.6.3 install /private/tmp/node_modules/pg > node-gyp rebuild || (exit 0) /bin/sh: pg_config: command not found gyp: Call to 'pg_config --libdir' returned exit status 127. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build/psycopg2 但是问题出pg_config在我身上PATH; 它运行没有任何问题: $ which pg_config /usr/pgsql-9.1/bin/pg_config 我尝试将pg_config路径添加到setup.cfg文件中,并使用从其网站(http://initd.org/psycopg/)下载的源文件进...
--- Command python setup.py egg_info failed with error code 1 in /tmp/pip-build/psycopg2 但问题是 pg_config 实际上在我的 PATH ;它运行没有任何问题: $ which pg_config /usr/pgsql-9.1/bin/pg_config 我尝试将 pg_config 路径添加到 setup.cfg 文件并使用我从他们的网站 ( http://initd...
django 提交表单 提示403:CSRF verification failed 后台日志: UserWarning: A {% csrf_token %} was used in a template, but the context did not provide the value. This is usually caused by not using RequestContext. "A {% csrf_token %} was used in a template, but the ...
configure: error: in `/var/lib/gearman/gearmand-1.1.19': configure: error: could not find pg_config program. You could specify it throught variable PG_CONFIG See `config.log' for more details make: *** No targets specified and no makefile found. Stop. make: *** No rule to make ...
use_pydatetime=1 # If the build system does not find the mx.DateTime headers, try # uncommenting the following line and setting its value to the right path.#mx_include_dir= # For Windows only: # Set to 1 if the PostgreSQL library was built with OpenSSL....
make: pg_config: Command not found 报错: [root@localhost c]#makemake: pg_config: Commandnotfound make:***No targets. Stop. [root@localhost c]# 解决 [root@localhost c]#yum install postgresql-develLoaded plugins: fastestmirror, refresh-packagekit, security...