Re: Help on installing pgadmin4 from rpm

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Prasanth M Sasidharan <prasha(dot)ms(at)gmail(dot)com>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: Help on installing pgadmin4 from rpm
Date: 2021-07-13 14:01:14
Message-ID: CA+OCxozq=xPrmQRrMPOkntQ5_qgdaep3mJ6py_t7eNJh3rh-jQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-admin

Hi

On Tue, Jul 13, 2021 at 2:56 PM Prasanth M Sasidharan <prasha(dot)ms(at)gmail(dot)com>
wrote:

> Hi Dave,
>
> Appreciate the reply. I downloaded the python package from
> https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tgz and compiled it.
>
> However, it's still throwing the same error . Would appreciate if you
> could point me to the right direction
>

Sure. Install the Python 3 package from CentOS/Redhat (as appropriate for
whatever your OS is). The pgAdmin RPM is complaining because you don't have
the python3 RPM installed.

Using a from-source installation of Python isn't supported by the RPMs. If
you really want to use a from-source installation, you'll have to build
pgAdmin yourself, manually. Which is a lot of work, and quite complex.

>
> [image: image.png]
>
> On Tue, Jul 13, 2021 at 7:02 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>>
>>
>> On Tue, Jul 13, 2021 at 2:13 PM Prasanth M Sasidharan <
>> prasha(dot)ms(at)gmail(dot)com> wrote:
>>
>>>
>>> Hello Team,
>>>
>>> I am trying to install pgadmin4 from rpm since my machine doesn't have
>>> internet access to connect to the repo.
>>>
>>> I have manually installed python3 and have set python3 as the
>>> default python.
>>>
>>> [image: image.png]
>>> When I try to install the pgadmin server rpm, it throws the following
>>> error. Any help would be much appreciated:
>>>
>>> [hadoop(at)v11 pgadmin]$ *rpm -ivv pgadmin4-server-5.1-1.el7.x86_64.rp*m
>>>
>>
>> If you're installing that RPM (which I'll note is an old version - you
>> should use v5.4), you're presumably using CentOS/RHEL 7.x. On that
>> platform, the python3 package is v3.6.8, not v3.9.6 which begs the
>> question; how did you install Python 3? If you did not do so using the
>> vendor supplied packages, then installing pgAdmin won't work, and it most
>> likely won't work even if you forced the installation.
>>
>> --
>> Dave Page
>> Blog: https://pgsnake.blogspot.com
>> Twitter: @pgsnake
>>
>> EDB: https://www.enterprisedb.com
>>
>>
>
> --
> Live every day as if it were your last, because one of these days, it will
> be.
>
> Regards,
>
> Prasanth M Sasidharan
>

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

EDB: https://www.enterprisedb.com

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Aditya Toshniwal 2021-07-14 05:21:10 Re: pgadmin4 suddenly not working - ImportError: cannot import name 'view_commit'
Previous Message Prasanth M Sasidharan 2021-07-13 13:55:53 Re: Help on installing pgadmin4 from rpm

Browse pgsql-admin by date

  From Date Subject
Next Message Ilmir Mulyukov 2021-07-13 15:57:58 Re: Lc_collate & lc_type? whitespace and nbsp unique index...
Previous Message Prasanth M Sasidharan 2021-07-13 13:55:53 Re: Help on installing pgadmin4 from rpm