我正在使用Visual Studio在Windows中构建psycopg2模块。 我已经为Python 2.7安装了visual studio。 编译后,我收到以下链接错误:
Creating library build\temp.win32-2.7\Release\psycopg\_psycopg.lib and
object build\temp.win32-2.7\Release\psycopg\
_psycopg.exp
pqpath.obj : error LNK2019: unresolved external symbol _PQclear
referenced in function _pq_raise
connection_int.obj : error LNK2001: unresolved external symbol _PQclear
cursor_type.obj : error LNK2001: unresolved external symbol _PQclear
error_type.obj : error LNK2001: unresolved external symbol _PQclear
pqpath.obj : error LNK2019: unresolved external symbol _PQerrorMessage
referenced in function _pq_raise
connection_int.obj : error LNK2001: unresolved external symbol
_PQerrorMessage
有人可以指导我们如何使用visual studio在windows中构建psycopg2和pcrypto模块吗?
提前致谢。