| From: | Dave Page <dpage(at)pgadmin(dot)org> |
|---|---|
| To: | Egon Frerich <egon(at)frerich(dot)eu> |
| Cc: | "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: pgadmin4 - which python |
| Date: | 2020-11-04 11:12:58 |
| Message-ID: | CA+OCxoxWWdh5AAO7rDq_GzZBfPL1m957fGO5NApqkzaZwePAHw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-support |
On Wed, Nov 4, 2020 at 10:35 AM Egon Frerich <egon(at)frerich(dot)eu> wrote:
>
> 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.
>
It's not the executable that matters - it's the prefix that's used when
Python was configured, which would have been /usr on a typical Linux
distro's standard package.
>
> 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?
>
Because that's used to figure out where all the different parts of the
installation can be found. On most Linux distros, there will be a
python3-devel or python3-dev or similar package that will include that.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alain Dupeyron | 2020-11-06 09:47:31 | display bigint precision problem in pgAdmin4 ? |
| Previous Message | Egon Frerich | 2020-11-04 10:34:56 | Re: pgadmin4 - which python |