Tony, this question has an answer, because I asked it. Search the list for a post titled 'flask' or 'flask again', and follow the steps in the answer I got there.
*“None of you has faith until he loves for his brother or his neighbor what he loves for himself.”* On Wed, Jan 31, 2018 at 11:59 AM, Tony Bazeley <to...@sa.apana.org.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 > > Thanks > Tony Bazeley > > > tonbaz@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' > >