Allennlp 导入elmo报错
原因:高版本cached-path没有‘file_friendly_logging’属性。
解决:降低cached-path版本至1.1.2,也可尝试更低版本
python -m pip install --upgrade cached-path==1.1.2
原始问答网页连接:AttributeError: module 'cached_path' has no attribute 'f_friendly_logging'
原因:高版本cached-path没有‘file_friendly_logging’属性。
解决:降低cached-path版本至1.1.2,也可尝试更低版本
python -m pip install --upgrade cached-path==1.1.2
原始问答网页连接:AttributeError: module 'cached_path' has no attribute 'f_friendly_logging'