Can't execute pgAdmin4

Gs. picture Gs. · Apr 20, 2017 · Viewed 11.3k times · Source

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.

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

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

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

Do somebody know about this? Thank you.


update:

i found this question.

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

So i'm trying do that, But can't run 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'

thank you.

Answer

Martin picture Martin · Jun 13, 2017

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.