From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Tony Bazeley <tonyb(at)sa(dot)apana(dot)org(dot)au> |
Cc: | pgadmin-support(at)lists(dot)postgresql(dot)org |
Subject: | Re: pgadmin4 from apt.postgresql.org - ubuntu xenial |
Date: | 2018-01-31 20:58:32 |
Message-ID: | 6A0DD3A5-29A6-4056-AB60-16BA2D80E02E@pgadmin.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
> On 31 Jan 2018, at 20:59, Tony Bazeley <tonyb(at)sa(dot)apana(dot)org(dot)au> wrote:
>
> Hi all,
>
> I've tried to install pgadmin4 from apt.postgresql.org and get the error below.
> I'm no python expert but both python-flask and python3-flask packages are installed.
>
> Would appreciate any thoughts on what I should try next
>
I suspect it’s because Christoph build the packages using Python 3. I don’t know how to make that default on Ubuntu (or even if you can), but try something like:
python3 /path/to/pgAdmin4.py
> Thanks
> Tony Bazeley
>
>
>
> tonbaz(at)muscat:~$ pgadmin4
> Python path: ""
> Python Home: ""
> Webapp path: "/usr/share/pgadmin4/web/pgAdmin4.py"
> Traceback (most recent call last):
> File "/usr/share/pgadmin4/web/pgAdmin4.py", line 34, in <module>
> import config
> File "/usr/share/pgadmin4/web/config.py", line 30, in <module>
> from pgadmin.utils import env, IS_PY2, IS_WIN, fs_short_path
> File "/usr/share/pgadmin4/web/pgadmin/__init__.py", line 17, in <module>
> from flask import Flask, abort, request, current_app, session, url_for
> ImportError: No module named 'flask'
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tony Bazeley | 2018-01-31 22:23:56 | Re: pgadmin4 from apt.postgresql.org - ubuntu xenial - solved |
Previous Message | Christoph Berg | 2018-01-31 20:43:31 | Re: pgAdmin4 2.1 on apt.postgresql.org |