Re: pgadmin4 - which python

From: Egon Frerich <egon(at)frerich(dot)eu>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Re: pgadmin4 - which python
Date: 2020-11-04 10:34:56
Message-ID: 15e6974b-47af-f7f5-686e-006fa3f31b55@frerich.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Am 04.11.20 um 10:01 schrieb Dave Page:
>
>
> On Tue, Nov 3, 2020 at 9:08 PM Egon Frerich <egon(at)frerich(dot)eu
> <mailto:egon(at)frerich(dot)eu>> wrote:
>
>
> The program python3.8 is in /usr/bin . I tried
>
> > thomas(at)Epsil192:~/Downloads/pgadmin4/pgadmin4-4.27/runtime$
> declare PGADMIN_PYTHON_DIR=/usr/bin
> > thomas(at)Epsil192:~/Downloads/pgadmin4/pgadmin4-4.27/runtime$ qmake
> > Project MESSAGE: ==================================
> > Project MESSAGE: Configuring the pgAdmin 4 runtime.
> > Project MESSAGE: ==================================
> > Project MESSAGE: Qt version: 5.12.8
> > Project ERROR: The PGADMIN_PYTHON_DIR environment variable is not
> set. Please set it to a directory path under which Python 3.4 or
> later has been installed and try again.
> > thomas(at)Epsil192:~/Downloads/pgadmin4/pgadmin4-4.27/runtime$
> declare PGADMIN_PYTHON_DIR=/usr/bin/python3.8
> > thomas(at)Epsil192:~/Downloads/pgadmin4/pgadmin4-4.27/runtime$ qmake
> > Project MESSAGE: ==================================
> > Project MESSAGE: Configuring the pgAdmin 4 runtime.
> > Project MESSAGE: ==================================
> > Project MESSAGE: Qt version: 5.12.8
> > Project ERROR: The PGADMIN_PYTHON_DIR environment variable is not
> set. Please set it to a directory path under which Python 3.4 or
> later has been installed and try again.
> > thomas(at)Epsil192:~/Downloads/pgadmin4/pgadmin4-4.27/runtime$
>
> The environment is set. How/What is qmake checking?
>
>
> Did you try setting it to /usr as I noted is probably correct in my
> earlier message? 
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EDB: http://www.enterprisedb.com
>

Hi Dave,

many thanks.

I didn't build Python 3.8 myself. Mint put the program python3.8 into
/usr/bin. So my settings should work.

With "export" (not declare) the environment variable is found. Now I get:

> thomas(at)Epsil192:~/Downloads/pgadmin4/pgadmin4-4.27/runtime$ export PGADMIN_PYTHON_DIR=/usr/
> thomas(at)Epsil192:~/Downloads/pgadmin4/pgadmin4-4.27/runtime$ qmake
> Project MESSAGE: ==================================
> Project MESSAGE: Configuring the pgAdmin 4 runtime.
> Project MESSAGE: ==================================
> Project MESSAGE: Qt version: 5.12.8
> Project MESSAGE: Platform: Linux
> Project MESSAGE: Python executable: /usr//bin/python3
> Project MESSAGE: Python version: 3.8 (38)
> Project ERROR: No suitable python-config could be found in /usr//bin.
> thomas(at)Epsil192:~/Downloads/pgadmin4/pgadmin4-4.27/runtime$

Python 3.8 ist found. But why should there python-config?

Egon

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2020-11-04 11:12:58 Re: pgadmin4 - which python
Previous Message Dave Page 2020-11-04 09:01:03 Re: pgadmin4 - which python