Linux下安装PgAdmin遇到的问题:

Linux下安装PgAdmin遇到的问题:

sudo pip install ./pgadmin4-4.23-py3-none-any.whl --安装命令
—执行sudo没有权限的问题:
报错:postgres 不在 sudoers 文件中。此事将被报告。
vi /etc/sudoers
添加如下内容:
postgres ALL=(ALL:ALL) ALL

再次执行安装命令:
[postgres@localhost ~]$ sudo install ./pgadmin4-4.23-py3-none-any.whl
[sudo] postgres 的密码:
install: 在"./pgadmin4-4.23-py3-none-any.whl" 后缺少了要操作的目标文件
Try ‘install --help’ for more information.
[postgres@localhost ~]$ sudo pip install ./pgadmin4-4.23-py3-none-any.whl
pgadmin4-4.23-py3-none-any.whl is not a supported wheel on this platform.
You are using pip version 8.0.2, however version 20.3.3 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
执行出错,提示需要升级pip版本
[postgres@localhost ~]$ pip install --u

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值