I’m trying to get pgadmin4 installed on my Centos 7.6 machine, and I followed the below tuto :
https://computingforgeeks.com/how-to-install-pgadmin-on-centos-fedora/
However, when I run:
”’
python /usr/lib/python2.7/site-packages/pgadmin4-web/setup.py
”’
I get the following error:
Traceback (most recent call last): File
“/usr/lib/python2.7/site-packages/pgadmin4-web/setup.py”, line 413, insetup_db() File “/usr/lib/python2.7/site-packages/pgadmin4-web/setup.py”, line 347, in
setup_db
app = create_app() File “/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/init.py”,
line 711, in create_app
from flask_compress import Compress ImportError: No module named flask_compress
Any idea what I’ve missed ?
Thanks in advance.
2
Answers
Ok i managed to get 'initialization' using pip install Flask-Compress
However when running http://localhost/pgadmin I get an internal server error (500), as follows:
''''
''''
You need to install
Flask-Compress
:https://pypi.org/project/Flask-Compress/
Run the following command in your terminal:
pip install Flask-Compress