无法启动应用程序服务器,窗口中存在服务器线程



我从他们的网站上使用了EnterpriseDB postgresql安装程序,但是当我完成并运行pgadmin(随postgresql一起安装)时,我收到一个配置错误,上面写着:

An error occurred initializing the application server:
Failed to launch application server, server thread existing

然后它要求我输入一个python路径和一个应用程序路径。对于 python 路径,我假设它是C:UsersxxxAppDataLocalProgramsPythonPython35-32Libsite-packages这是我安装 python 的地方。但是我不确定它问的是哪个应用程序。

9.6.3 版本的 PostgreSQL 是 PGoAdmin 版本是 4。 视窗 10 64位

我遇到了同样的问题,发现"PYTHONPATH"系统变量导致了问题。所以我删除了环境变量,它工作正常。幸运的是,我没有使用这些变量,因为我的开发环境处于远程状态。

因此,请尝试从环境变量列表中删除"PYTHONHOME"或"PYTHONPATH"并启动应用程序。

从 pgAdmin 代码,

# For unknown reason the Qt runtime does not pass the environment
# variables (i.e. PYTHONHOME, and PYTHONPATH), to the Python
# sub-processes, leading to failures executing background processes.
#
# This has been observed only on windows. On *nix systems, it is likely
# picking the system python environment, which is good enough to run
# the process-executor.**

最新更新