暂无图片
python-pip 如何安装
我来答
分享
暂无图片 匿名用户
python-pip 如何安装

[root@pgdan plprofiler-REL4_1]# yum install python-pip
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No package python-pip available.

Error: Nothing to do


我centos 7.2  ,光盘挂载后,本地yum源已经做好了,但是里面没有python-pip这个呀?

请问如何安装??

我来答
添加附件
收藏
分享
问题补充
3条回答
默认
最新
严少安
暂无图片

python2-pip 或 python3-pip 具体看你用py2 还是py3

$ yum info python2-pip
Loaded plugins: changelog, fastestmirror, product-id, search-disabled-repos, subscription-manager, verify
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Loading mirror speeds from cached hostfile
Installed Packages
Name        : python2-pip
Arch        : noarch
Version     : 8.1.2
Release     : 14.el7
Size        : 7.2 M
Repo        : installed
From repo   : epel
Summary     : A tool for installing and managing Python 2 packages
URL         : http://www.pip-installer.org
License     : MIT and BSD and ASL 2.0 and ISC and Python and (ASL 2.0 or BSD) and LGPLv2+
Description : Pip is a replacement for easy_install.  It uses mostly the
            : same techniques for finding packages, so packages that were made
            : easy_installable should be pip-installable as well.

$ yum info python3-pip
Loaded plugins: changelog, fastestmirror, product-id, search-disabled-repos, subscription-manager, verify
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Loading mirror speeds from cached hostfile
Installed Packages
Name        : python3-pip
Arch        : noarch
Version     : 9.0.3
Release     : 8.el7
Size        : 9.1 M
Repo        : installed
From repo   : centos-os
Summary     : A tool for installing and managing Python3 packages
URL         : http://www.pip-installer.org
License     : MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
Description : pip is a package management system used to install and manage software packages
            : written in Python. Many packages can be found in the Python Package Index
            : (PyPI). pip is a recursive acronym that can stand for either "Pip Installs
            : Packages" or "Pip Installs Python".

复制
暂无图片 评论
暂无图片 有用 0
打赏 0
nanjing_2013

[root@pgdan yum.repos.d]# yum info python2-pip
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Error: No matching Packages to list

楼上的分享不对,还有没有高手

暂无图片 评论
暂无图片 有用 0
打赏 0
吾喾

单独下载python tar包部署吧,不要用系统自带的

https://www.python.org/downloads/

暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
Markdown


请输入正文
提交
相关推荐
postgresql数据库中可以并发吗?
回答 1
已采纳
看存储过程的SQL效率支持不支持并发了。高效的可以,低效的,比如报表,就难了。
crate user 的WITH ENCRYPTED PASSWORD 和with password的区别
回答 1
方括号是可选的意思,创建用户时不论是否添加encrypted关键字,密码始终以加密方式(加密算法由passwordencryption参数配置决定)存储在系统目录(pgauthid)中,ENCRYPT
pgsql有没有像mysqldump那样的工具,可以解析wal日志的
回答 1
WalMiner什么是WalMinerWalMiner是从PostgreSQL的WAL(writeaheadlogs)日志的解析工具,旨在挖掘wal日志所有的有用信息,从而提供PG的数据恢复支持。目前
postgresql jsonb字段超过65536,会自动截断怎么处理?
回答 1
已采纳
分多个列保存,应用获取后进行拼接
pg_stat_activity中的pid可以批量查杀吗?
回答 3
select'selectpgterminatebackend('||pid||');'askill,usename,datname,currentquery,now()querystartascti
流复制如何特意模拟主从有延时,测试该场景下的切换问题
回答 1
直接测试备库故障切换吧
pg中查看自定义的函数和自定义的存储过程,从哪个系统表或者视图查看?
回答 3
查看存储过程名称:selecta.rolnameas"owner",p.pronameas"Name"frompgrolesaleftjoinpgcatalog
PostgreSQL recovery 模式 和standby 模式有什么区别?
回答 1
已采纳
PostgreSQLrecovery模式是进入恢复模式standby模式是读写分离,即为主库可读可写,从库为只读模式。但会存在数据一致性的问题,对于一些一致性高的应用来说是不可接受的。如果数据库服务器
pg中要回收事务id的根本原因是啥?
回答 1
https://www.modb.pro/db/251408希望对你有帮助
postgresql 支持ignore nulls吗?
回答 1
SQL标准为lead、lag、firstvalue、lastvalue和nthvalue定义了一个RESPECTNULLS或IGNORENULLS选项。 这在PostgreSQL中没有实现