prerequisites:
1: postgresql
2: vs
steps:
1: run
python setup.py build build_ext --pg-config x:/pgsql/bin/pg_config.exe
2: make sure following dlls are on the path:
libpq.dll
libeay32.dll
ssleay32.dll
libintl-8.dll
libiconv-2.dll
done..
caution: make sure the version match...(32 bit vs 64 bit)
本文介绍如何在Python中安装PostgreSQL扩展模块。首先需要确保安装了PostgreSQL和Visual Studio。然后通过运行特定命令来构建扩展,并确保指定路径下存在必要的DLL文件,包括libpq.dll、libeay32.dll等。
4829

被折叠的 条评论
为什么被折叠?



