Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1778888
  • 博文数量: 276
  • 博客积分: 1574
  • 博客等级: 上尉
  • 技术积分: 2894
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-26 23:23
个人简介

生活的美妙在于,不知道一下秒是惊艳还是伤神,时光流转,珍惜现在的拥有的时光

文章分类

全部博文(276)

文章存档

2017年(17)

2016年(131)

2015年(63)

2013年(2)

2012年(32)

2011年(31)

发布时间:2017-03-28 16:21:28

In [15]: a = [1,2,3,4,5,5,6,7,7]In [16]: a.index(5)Out[16]: 4In [17]: a.index(6)Out[17]: 6In [18]: b = collect_common.unique_list(a)In [19]: a.index(5)Out[19]: 4In [20]: a.index(6)Out[20]: 5可见list去重后index相应的也进行了变化。......【阅读全文】

阅读(1029) | 评论(0) | 转发(0)

发布时间:2017-03-22 11:38:20

# yum search --showduplicates salt...salt-2015.5.10-2.el6.noarch : A parallel remote execution systemsalt-2015.5.10-2.el6.noarch : A parallel remote execution systemsalt-2016.11.3-1.el6.noarch : A parallel remote execution system...# yum downgrade salt降级指定版本后面写查询到的软件包全名。.........【阅读全文】

阅读(7185) | 评论(0) | 转发(0)

发布时间:2017-03-21 20:14:57

pytho 2.6 salt state模块pip报AttributeError: 'Requirement' object has no attribute 'project_name'pip install --upgrade pipDEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6回退到0.7版本解决。.........【阅读全文】

阅读(1480) | 评论(0) | 转发(0)

发布时间:2017-03-15 15:01:35

安装python-devel包解决这个问题# pip install netifaces    DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6Collecting netifaces  Using cached netifaces-0.10.5.tar.gzIns.........【阅读全文】

阅读(4405) | 评论(0) | 转发(0)

发布时间:2017-03-13 15:05:28

[root@sys_228 ~]# salt --versions-reportSalt Version:           Salt: 2015.8.8.2...这个版本的nodegroup会有匹配问题......【阅读全文】

阅读(577) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册