Cannot launch Pgadmin4

I installed pgadmin4 using pacman. Now when I try to launch it I get the following error:
filip@endeavour-vm ~/D/people-info (main)> pgadmin4
QCoreApplication::applicationFilePath: Please instantiate the QApplication object first
QCoreApplication::applicationFilePath: Please instantiate the QApplication object first
Semaphore name: “pgadmin4-filip-a59283b86ae8ae85d20fdf770d799dd7-sema”
Shared memory segment name: “pgadmin4-filip-a59283b86ae8ae85d20fdf770d799dd7-shmem”
Python path: “/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/lib/python3.9/site-packages”
Python Home: “/usr/lib/python3.9”
Webapp path: “/usr/lib/pgadmin4/web/pgAdmin4.py”
"An error occurred initialising the pgAdmin 4 server:\n\nFailed to launch the application server, server thread exiting."

How do I fix this? >_>

I had the same problem. Pgadmin4 is out of date in AUR so we have to wait for somebody to fix it.
In the meantime try dBeaver its readily available and does work…

2 Likes