Re: pgadmin4: no module flask

From: Neel Patel <neel(dot)patel(at)enterprisedb(dot)com>
To: Luca Ferrari <fluca1978(at)infinito(dot)it>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgadmin4: no module flask
Date: 2016-04-19 12:01:27
Message-ID: CACCA4P0jygzKLHUXz=S+y-P+3QdW2t+QBG-2+Wbf5GvE4-E53g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

Error itself saying that application is not able to find the required
packages so you need to export the PYTHONPATH variable to required packages
where installed.

e.g. export
PYTHONPATH=/home/user/workspace/pgAdmin4_3_4/lib/python3.4/site-packages/

Thanks,
Neel Patel

On Tue, Apr 19, 2016 at 4:52 PM, Luca Ferrari <fluca1978(at)infinito(dot)it> wrote:

> Hi all,
> still trying to get pgAdmin4 running on my system. When I launch it I got:
>
> ./runtime/pgAdmin4
> Webapp path: "/home/luca/tmp/pgadmin4/web/pgAdmin4.py"
> Traceback (most recent call last):
> File "/home/luca/tmp/pgadmin4/web/pgAdmin4.py", line 24, in <module>
> from pgadmin import create_app
> File "/home/luca/tmp/pgadmin4/web/pgadmin/__init__.py", line 13, in
> <module>
> from flask import Flask, abort, request, current_app
> ImportError: No module named flask
> "Failed to launch the application server, server thread exiting."
>
> and a configuration window keep asking me the python path and the
> application path (and I don't know what to specify for it).
> I've installed flask via pip and via apt, am I missing something?
>
> Thanks,
> Luca
>
>
> --
> Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2016-04-19 12:24:24 Re: pgadmin4: no module flask
Previous Message Luca Ferrari 2016-04-19 11:22:14 pgadmin4: no module flask