博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
python-libs-2.6.6-66.el6_8.x86_64 is a duplicate with python-libs-2.6.6-64.el6.x86_64
阅读量:4297 次
发布时间:2019-05-27

本文共 2705 字,大约阅读时间需要 9 分钟。

一台新服务器centos6.7安装pip。

163的centos源并没有这个,用了一个python源,版本不兼容

报错:

Error: Package: python-argparse-1.3.0-48.8.x86_64 (python)

           Requires: python = 2.6
           Installed: python-2.6.6-66.el6_8.x86_64 (@updates)
               python = 2.6.6-66.el6_8
           Available: python-2.6.6-64.el6.x86_64 (base)
               python = 2.6.6-64.el6
Error: Package: python-setuptools-28.3.0-86.1.x86_64 (python)
           Requires: update-alternatives
Error: Package: python-setuptools-28.3.0-86.1.x86_64 (python)
           Requires: python-xml
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
python-libs-2.6.6-66.el6_8.x86_64 is a duplicate with python-libs-2.6.6-64.el6.x86_64

或者报错:

Error: Package: python-pip-9.0.1-1.2.x86_64 (python)

           Requires: python-xml
Error: Package: python-argparse-1.3.0-48.8.x86_64 (python)
           Requires: python = 2.6
           Installed: python-2.6.6-66.el6_8.x86_64 (@updates)
               python = 2.6.6-66.el6_8
           Available: python-2.6.6-64.el6.x86_64 (base)
               python = 2.6.6-64.el6
Error: Package: python-pip-9.0.1-1.2.x86_64 (python)
           Requires: update-alternatives
 You could try using --skip-broken to work around the problem

 You could try running: rpm -Va --nofiles --nodigest

使用--skip-broken也不行

然后:查到要用epel安装扩展包

yum -y install epel-release

接下来

yum -y install python-pip

OK~

EPEL是fedora项目中linux企业版扩展包

What is Extra Packages for Enterprise Linux (or EPEL)?

Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to,  (RHEL), CentOS and Scientific Linux (SL), Oracle Linux (OL).

EPEL packages are usually based on their Fedora counterparts and will never conflict with or replace packages in the base Enterprise Linux distributions. EPEL uses much of the same infrastructure as Fedora, including buildsystem, bugzilla instance, updates manager, mirror manager and more.

Learn more about EPEL in the following pages:

fedora是redhat赞助的项目,用来孵化新技术,免费软件组织成员。

What is the Fedora Project?

The Fedora Project is a global partnership of free software community members. The Fedora Project is sponsored by , which invests in our  and resources to encourage collaboration and incubate innovative new technologies. Some of these technologies may later be integrated into Red Hat products. They are  and produced under a  from inception, so other free software communities and projects are free to study, adopt, and modify them.

Read an  to learn more about our mission, our community, our governance, and what makes Fedora unique. You can also learn about our  and  upon which the project is built. We also have information relating to our , and the  for our technical work.

转载地址:http://vhbws.baihongyu.com/

你可能感兴趣的文章
TB创建公式应用dll失败 请检查用户权限,终极解决方案
查看>>
python绘制k线图(蜡烛图)报错 No module named 'matplotlib.finance
查看>>
talib均线大全
查看>>
期货市场技术分析06_长期图表和商品指数
查看>>
期货市场技术分析07_摆动指数和相反意见理论
查看>>
满屏的指标?删了吧,手把手教你裸 K 交易!
查看>>
不吹不黑 | 聊聊为什么要用99%精度的数据回测
查看>>
X 分钟速成 Python
查看>>
对于模拟交易所引发的思考
查看>>
高频交易的几种策略
查看>>
网格马丁格尔交易法
查看>>
一行代码让 Python 的运行速度提高100倍
查看>>
一行 Python 实现并行化 -- 日常多线程操作的新思路
查看>>
期货市场的运作机制
查看>>
一文精通 crontab从入门到出坑
查看>>
股票连续跌停后开板表现
查看>>
东航期货行情接口和交易接口(20190509)
查看>>
ubnutu系统完美克隆至新硬盘,系统备份迁移至新硬盘
查看>>
ubnutu系统完美克隆至新硬盘,系统备份迁移至新硬盘
查看>>
东航期货模拟交易brockerid(期货公司的客户号)
查看>>