I have the same error. It is pgadmin related and I get it when I start
pgadmin from a different path than were it was installed.
I installed pgadmin4.2.2 using our blog on standalone mode:
https://humandata.associates/blog/data-engineering/installing-pgadmin-4-runtime-mode
When I start it from comm
> Webapp path: "/home/rich/pgadmin4-2.0/web/pgAdmin4.py"
>>> Traceback (most recent call last):
>>> File "/home/rich/pgadmin4-2.0/web/pgAdmin4.py", line 34, in
>>> import config
>>> File "/home/rich/pgadmin4-2.0/web/config.py
irtualenvs/pgadmin4/bin/activate
That should do it:
~/pgadmin4-2.0/runtime/pgAdmin4
2017-11-23 16:23 GMT+01:00 F.Sluiter :
> Hi Rich,
> Thx for trying! Sorry but this was a formatting error in our write up
> which caused the python path to become mangled. We corrected that now so it
> sh
ig
> File "/home/rich/pgadmin4-2.0/web/config.py", line 30, in
> from pgadmin.utils import env, IS_PY2, IS_WIN, fs_short_path
> File "/home/rich/pgadmin4-2.0/web/pgadmin/__init__.py", line 17, in
>
> from flask import Flask, abort, request, current
As it was not very clearly documented anywhere, we would like to share how
best to install PGadmin 4 on linux Mint and Ubuntu 16.04 in a virtual
environment as a stand alone desktop application (without the use of a
browser!).
PgAdmin 4 can be run in three ways:
- Server Mode in a web interface
-