无法执行pgAdmin4 [英] Can't execute pgAdmin4

查看:635
本文介绍了无法执行pgAdmin4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了Postgres9.6 ver,并且pgAdmin4一起安装了. 但是,当我执行pgadmin时,它是返回消息无法联系应用程序服务器".

I installed Postgres9.6 ver And pgAdmin4 was installed together. But It is return message "The application server could not be contacted" When i execute pgadmin.

我尝试从Web下载并安装pgAdmin4. 但是什么都没改变.

I tried to download and install pgAdmin4 from web. But have not changed anything.

我什么都没得到,尽管我在Google上搜索了该消息.

I couldn't get anything Although I searched google about the message.

我设置了系统路径,并且Postgres在本地运行. 但是pgadmin不会启动.

I Set System Path, And Postgres is running in my local. But pgadmin don't start up.

有人知道吗? 谢谢.

更新:

我发现了这个 问题.

我认为这是我的问题,即使消息有所不同,也获得了3票得很好.

I think that is same my problem which got 3 good vote even if the message is different a little.

所以我正在尝试这样做,但是无法运行setup.py.

So i'm trying do that, But can't run setup.py.

我安装了python.并使用cmd作为管理员运行pgAdmin\web\setup.py. 但是失败,并显示

I installed python. and run pgAdmin\web\setup.py with cmd as admin. But fail with message of

从烧瓶导入烧瓶没有模块名为烧瓶"

from flask import Flask No module named 'flask'

谢谢.

推荐答案

我在Windows 10 Professional上的pgAdmin 4 1.5遇到了同样的问题.解决方案只是删除由早期版本创建的%appdata%\pgAdmin.在Windows以外的系统上,用户目录中可能有一个pgAdmin目录.当然,删除此选项后,所有会话设置等都将消失.

I had the same problem with pgAdmin 4 1.5 on Windows 10 Professional. The solution was simply to delete %appdata%\pgAdmin which was created by an earlier version. On systems other than Windows, there probably is a pgAdmin directory in your user directory. Of course, all session settings etc. are gone after deleting this.

这篇关于无法执行pgAdmin4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆