ubuntu18安装pgadmin4

××centos用yum安装,其他用python安装××

下载python包

https://www.postgresql.org/ftp/pgadmin/pgadmin4/v3.0/pip/

安装

#python版本
python -V
#安装pip
sudo apt install python-pip
#安装pgadmin
pip install /mnt/download/pgadmin4-3.0-py2.py3-none-any.whl

运行

find / -name pgAdmin4.py 2>/dev/null
python /usr/local/lib/python2.7/dist-packages/pgadmin4/pgAdmin4.py

浏览器访问:http://127.0.0.1:5050
参考:
https://blog.csdn.net/dream_an/article/details/53463187

你可能感兴趣的:(ubuntu18安装pgadmin4)