缘由:默认Centos6操作系统Python-2.6版本,但是使用监控插件需要2.7+,所以尝试升级一波。 看操作: 一、使用 python -V 查询本机python系统。
原来此扩展源中带有的是适合python-2.6的 pip,而centos-7自带的是 2.7版本,不匹配; ?
创建 app: rhc app create -a $APPNAME -t python-2.6 app 这个子命令下还有 start, stop, tail, add-alias, cartridge