That actually worked . I did the rpm installation of python & pgadmin and I was able to install it successfully.
However, I am unable to login to the pgadmin4 page due to incorrect username and password. I am using the same email address and password given while running the /usr/pgadmin4/bin/setup-web.sh.
Is there any additional configuration needed?
On Tue, Jul 13, 2021 at 7:31 PM Dave Page <dpage@pgadmin.org> wrote:
Hi
On Tue, Jul 13, 2021 at 2:56 PM Prasanth M Sasidharan <prasha.ms@gmail.com> wrote:
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.
On Tue, Jul 13, 2021 at 7:02 PM Dave Page <dpage@pgadmin.org> wrote:
On Tue, Jul 13, 2021 at 2:13 PM Prasanth M Sasidharan <prasha.ms@gmail.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.
When I try to install the pgadmin server rpm, it throws the following error. Any help would be much appreciated:
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.