본문 바로가기

Error and Solve

[에러 해결] AttributeError: "load()" has been removed, use yaml .. / pip install ruamel.yaml==0.17.*

반응형

 

 

AttributeError: "load()" has been removed, use yaml ..

 

 

 

AttributeError load() has been removed, use yaml.load(...) 

 

code에서 config = yaml.load(open(config, 'r'), Loader=yaml.loader) 가 있는데 

여기서 AttributeError가 났다 

 

 

 

 

 

 

 

해결: pip install ruamel.yaml==0.17.*

 

pip install ruamel.yaml==0.17.*

pip install ruamel.yaml==0.17.*

 

 

 

yaml 과 관련된 specific한 버전을 설치하면 된다

 

 

 

 


 

Reference

https://github.com/debbiemarkslab/EVcouplings/issues/303

 

"load()" has been removed, use yaml · Issue #303 · debbiemarkslab/EVcouplings

Getting this error on any new run now on python 3.8 > I think this majorly has to do with latest update from ruamel.yaml to version 0.18.5.

github.com

 

 

 

 

반응형