小编Jun*_*ong的帖子

PostgreSQL安装错误:环境变量COMSPEC似乎没有指向cmd.exe

我是PostgreSQL新手,当我尝试在Windows 10设备上安装PostgreSQL 13 / 14时,遇到以下错误。

"The environment variable COMSPEC does not seem to point to the cmd.exe or there is a training semicolon present. Please fix this variable and restart installation." 
Run Code Online (Sandbox Code Playgroud)

弹出错误的截图


COMSPEC 系统变量

这是我的 COMSPEC环境变量的设置


内容 installbuilder_installer.log

Log started 05/06/2022 at 17:51:52
Preferred installation mode : qt
Trying to init installer in mode qt
Mode qt successfully initialized
Setting variable whoami from C:\WINDOWS\System32\whoami 
Script exit code: 0

Script output:
 atrapa\junkwong

Script stderr:
 

Executing …
Run Code Online (Sandbox Code Playgroud)

windows postgresql installation

7
推荐指数
2
解决办法
2万
查看次数

标签 统计

installation ×1

postgresql ×1

windows ×1