Python报错1:TypeError: load() missing 1 required positional argument: ‘Loader’
Python报错2:yaml.constructor.ConstructorError: could not determine a constructor for the tag
Python报错3:yaml.constructor.ConstructorError: could not determine a constructor for the tag ‘!join’
均可以通过修改为以下yaml版本即可。如果跑一个新的工程或者项目,建议还是直接根据所要求的requirement.txt文件中所要求的的库重新建立环境,否则因为库不匹配的因素debug可能会浪费很多不必要的时间。
pip install pyyaml==4.2b2



