安装/启动 pgadmin4 时出错 需要 SQLAlchemy 1.1.0 或更高版本

Nic*_*o.C 2 sqlalchemy python-2.7 pgadmin-4

我正在按照以下说明在 Mint 19 中安装 pgadmin4:

https://linuxhint.com/install-pgadmin4-ubuntu/

当我来跑步时:

https://linuxhint.com/install-pgadmin4-ubuntu/
Run Code Online (Sandbox Code Playgroud)

我有一个错误:

File "/home/nico/pgadamin4/pgAdmin4/local/lib/python2.7/site-packages/alembic/util/__init__.py", line 31, in <module>
    raise CommandError("SQLAlchemy 1.1.0 or greater is required. ")
alembic.util.exc.CommandError: SQLAlchemy 1.1.0 or greater is required
Run Code Online (Sandbox Code Playgroud)

在这一点上,我不知道如何继续。我不是很了解整个安装过程,使用虚拟环境,所以我无法添加更多信息。任何人都可以帮忙吗?谢谢!

Mur*_*a Z 5

为什么要手动操作?

pgAdmin4 现在作为原生 linux 包。转到 postgres 站点,选择您的 Ubuntu 版本为“ Ubuntu Bionic ”(您的 Linux mint 是基于该版本)。

https://www.postgresql.org/download/linux/ubuntu/

添加 postgres repo 如上面链接所示,然后执行

须藤 apt-get 更新 && 须藤 apt-get 安装 pgadmin4