摘要: 1,安装pip 3.5以后的版本自带PIP和setuptools,编译安装即可,但是,编译时候 时候若是未能安装pip3系列,那就要注意看编译报错事项 我安装了几次均失败,看报错内容,原来PIP包的链接地址是用https的 因此想要安装成功 yum install openssl-devel 即可! 阅读全文
posted @ 2016-04-17 19:32 知_行 阅读(458) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python import subprocess def uname_func(): uname = "uname" uname_arg = "-a" print "Gathering system information with %s command:\n" % uname subprocess.c... 阅读全文
posted @ 2016-04-17 19:12 知_行 阅读(147) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python import subprocess uname = "uname" uname_arg = "-a" print "Gathering system information with %s command:\n" % uname subprocess.call([uname,uname_arg]) diskspace = "df" diskspac... 阅读全文
posted @ 2016-04-17 17:03 知_行 阅读(354) 评论(0) 推荐(0) 编辑