I was trying to install pgadmin4 (without the postgresql server) for admining a postgresql instance on another machine. Following Download didn’t work so well at the sudo yum install pgadmin4-desktop step - an ‘f35’ resource file is looked for an not found (only an f34 one exists). This rhymes with the description on that page under ‘supported platforms’.
I tried itamarjp/pgadmin4 Copr and after copr enabling user/repo and then doing sudo dnf install pgadmin4 (after doing sudo rpm -e pgadmin4-fedora-repo ) there’s a dependancy mismatch with nothing providing python3-flask-babelex.
I don’t strictly require pgadmin4, any client software graphical or not would be great, without installing a database engine too. Any hints would be welcome : )
Tried “pip install pgadmin4” and the script seems to complete bar psycopg2-from-source things I think (psycopg2-binary is installed).
Upon launching like so (a guess, I haven’t seen any other means)
[to@feds ~]$ pgadmin4
Traceback (most recent call last):
File "/home/to/.local/bin/pgadmin4", line 5, in <module>
from pgadmin4.pgAdmin4 import main
File "/home/to/.local/lib/python3.10/site-packages/pgadmin4/pgAdmin4.py", line 35, in <module>
File "/home/to/.local/lib/python3.10/site-packages/pgadmin4/config.py", line 25, in <module>
from pgadmin.utils import env, IS_WIN, fs_short_path
File "/home/to/.local/lib/python3.10/site-packages/pgadmin4/pgadmin/__init__.py", line 21, in <module>
from flask import Flask, abort, request, current_app, session, url_for
File "/home/to/.local/lib/python3.10/site-packages/flask/__init__.py", line 21, in <module>
from .app import Flask, Request, Response
File "/home/to/.local/lib/python3.10/site-packages/flask/app.py", line 36, in <module>
from .sessions import SecureCookieSessionInterface
File "/home/to/.local/lib/python3.10/site-packages/flask/sessions.py", line 14, in <module>
from collections import MutableMapping
ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib64/python3.10/collections/__init__.py)