我无法在此处安装任何 Windows 64 位 PostgreSQL 版本:https ://www.enterprisedb.com/downloads/postgres-postgresql-downloads
我不断收到同样的错误:
There has been an error.
Unknown error while running C:\Temp\postgresql_installer_1f29627219\getlocales.exe
这是 Bitrock 安装程序错误日志的一部分:
[18:05:31] 使用服务名称:postgresql-x64-9.3 执行 cscript //NoLogo "C:\Temp\postgresql_installer_1f29627219\prerun_checks.vbs" 脚本退出代码:0
脚本输出:脚本主机似乎可以正常工作。
脚本标准错误:
执行 C:\Temp\postgresql_installer_1f29627219\vcredist_x64.exe /passive /norestart 脚本退出代码:0
脚本输出:
脚本标准错误:
执行 C:\Temp\postgresql_installer_1f29627219\getlocales.exe 脚本退出代码:
脚本输出:
脚本标准错误:
运行 C:\Temp\postgresql_installer_1f29627219\getlocales.exe 时出现未知错误
对于上下文,我正在尝试安装它,以便我可以访问我需要使用 Python 安装 psycopg2 的 pg_config 文件。我目前拥有并使用 pgAdmin III v1.22 - 我不确定是否已经拥有 pgAdmin III 是我无法从上述站点安装 PostgreSQL 文件的部分原因。