2014年9月12日星期五

Error: pg_config executable not found.

在windows 安装psycopg2时,使用命令
pip install psycopg2时,报错如下
Error: pg_config executable not found.
解决方法如下:
在系统环境变量path中,加入
postgresql安装路径的bin路径。
然后重新开启命令窗口安装

没有评论:

发表评论