Re: pgAdmin4 - cannot run on Debian 8

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Johann Spies <jspies(at)sun(dot)ac(dot)za>, pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgAdmin4 - cannot run on Debian 8
Date: 2016-10-24 13:35:47
Message-ID: CA+OCxow=zWtFZZ22r1jGdPJ62TcFvOsTae+jETrndSK02ZhrRA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Mon, Oct 24, 2016 at 2:33 PM, Johann Spies <jspies(at)sun(dot)ac(dot)za> wrote:
> On Mon, Oct 24, 2016 at 11:03:17AM -0200, André Cardoso wrote:
>> <module>
>> from flask import Flask, abort, request, current_app
>> ImportError: No module named flask
>> "Failed to launch the application server, server thread exiting."
>
> ...
>>
>> How can I fix this?
>
> Try "pip-install Flask" and if necessary other Flask-related packages.
>
> I have
>
> $ pip list | grep Flask
> Flask (0.11.1)
> Flask-Babel (0.11.1)
> Flask-Gravatar (0.4.2)
> Flask-Login (0.3.2)
> Flask-Mail (0.9.1)
> Flask-Principal (0.4.0)
> Flask-Security (1.7.5)
> Flask-SQLAlchemy (2.1)
> Flask-WTF (0.12)
>
> but I don't know whether all if it is necessary.

The requirements are listed in the requirements_py*.txt files in the
top of the source tree. You should be able to do:

pip install -r requirements_py2.txt

to get everything required, assuming you're using Python 2.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2016-10-24 13:50:42 Re: pgAdmin4 - cannot run on Debian 8
Previous Message Johann Spies 2016-10-24 13:33:38 Re: pgAdmin4 - cannot run on Debian 8