原因:因为版本太低,需要重新卸载,再重新安装,好像运行 pip uninstall yaml 卸载不了

最后的解决方法: 

  pip install --ignore-installed PyYAML