匿名用户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采纳答案后不可修改和取消
[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单独下载python tar包部署吧,不要用系统自带的
评论
有用 0回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
墨值悬赏


