Issue
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, in setup_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.
Solution
You need to install Flask-Compress
:
https://pypi.org/project/Flask-Compress/
Run the following command in your terminal:
pip install Flask-Compress
Answered By - AK47
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.