我尝试安装psycopg2,命令如下:
现在出现以下错误:
有关这个问题,需要帮助吗?
pip install psycopg2
但是因为 pg_config
出现错误。查询了一些stackoverflow的资料并安装了PostgreSQL, 将pg_config
的路径添加到了$PATH
。现在出现以下错误:
LINK : fatal error LNK1181: cannot open input file 'libpq.lib'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x64\\link.exe' failed with exit status 1181
有关这个问题,需要帮助吗?