unable to start pgAdmin-4 on CentOS-7 - Mailing list pgadmin-support

From Venkata Balaji N
Subject unable to start pgAdmin-4 on CentOS-7
Date
Msg-id CAEyp7J8D+dj0nXpFOLGVck969S+J=9zKfWgpoJ+wxjcyobuE3Q@mail.gmail.com
Whole thread Raw
Responses Re: unable to start pgAdmin-4 on CentOS-7  (Neel Patel <neel.patel@enterprisedb.com>)
List pgadmin-support
Hello Community,

I have an issue starting pgAdmin4 on CentOS-7 and would appreciate any help in this regard -

I have downloaded the EnterpriseDB's Open Source PostgreSQL package (9.6 beta3) which includes pgAdmin4 as well.

When i tried starting the pgAdmin4, i get the following error -

[dba@localhost bin]$ ./pgAdmin4
Full Python path:  "/opt/PostgreSQL/9.6/pgAdmin4/venv/lib/python2.7/site-packages:/opt/PostgreSQL/9.6/pgAdmin4/venv/lib/python2.7/lib-dynload:/opt/PostgreSQL/9.6/pgAdmin4/venv/lib/python2.7"
User Python path:  ""
Webapp path:  "/opt/PostgreSQL/9.6/pgAdmin4/web/pgAdmin4.py"
Traceback (most recent call last):
  File "/opt/PostgreSQL/9.6/pgAdmin4/web/pgAdmin4.py", line 23, in <module>
    import config
  File "/opt/PostgreSQL/9.6/pgAdmin4/web/config.py", line 15, in <module>
    from logging import *
  File "/opt/PostgreSQL/9.6/pgAdmin4/venv/lib/python2.7/logging/__init__.py", line 26, in <module>
    import sys, os, time, cStringIO, traceback, warnings, weakref, collections
  File "/opt/PostgreSQL/9.6/pgAdmin4/venv/lib/python2.7/collections.py", line 9, in <module>
    from operator import itemgetter as _itemgetter, eq as _eq
ImportError: /opt/PostgreSQL/9.6/pgAdmin4/venv/lib/python2.7/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString
"Failed to launch the application server, server thread exiting."

Regards,
Venkata B N

Fujitsu Australia

pgadmin-support by date:

Previous
From: D.Z.
Date:
Subject: Ctrl-F
Next
From: Neel Patel
Date:
Subject: Re: unable to start pgAdmin-4 on CentOS-7