Fix py27 import
depend on PyYAML