Thread: pgadmin4 qmake selects python 3 by default?

pgadmin4 qmake selects python 3 by default?

From
Colin Beckingham
Date:
On openSUSE Leap 42.1, using system with both python2- and
python3-config, qmake selects python3.
---
qmake
Project MESSAGE: Building for QT4...
Project MESSAGE: Building for Linux/Mac...
Project MESSAGE: Using /usr/bin/python3-config
Project MESSAGE: Python3 detected.
---
Is this a deliberate choice, determined by my system or random? I am
accustomed to seeing a default to python2, but if python3 works then not
a problem.
I still am not able to tell if the runtime situation is up due to
another error (Type str doesn't support the buffer API) which is still
under investigation.


Re: pgadmin4 qmake selects python 3 by default?

From
Dave Page
Date:
On Fri, Jun 17, 2016 at 11:02 AM, Colin Beckingham <colbec@kingston.net> wrote:
> On openSUSE Leap 42.1, using system with both python2- and python3-config,
> qmake selects python3.
> ---
> qmake
> Project MESSAGE: Building for QT4...
> Project MESSAGE: Building for Linux/Mac...
> Project MESSAGE: Using /usr/bin/python3-config
> Project MESSAGE: Python3 detected.
> ---
> Is this a deliberate choice, determined by my system or random? I am
> accustomed to seeing a default to python2, but if python3 works then not a
> problem.

It was, but on reflection I wonder if it's the best choice, given that
most of us are still using python2.

I'll switch it around.

> I still am not able to tell if the runtime situation is up due to another
> error (Type str doesn't support the buffer API) which is still under
> investigation.


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

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