解决方法: 方法1:(未解决) Python2版本适用: Python3版本适用: import sys reload(sys) 方法2:(已解决) 在yaml配置文件中添加了 注释# 把注释去掉后问题解决