今天在跑代码时,由于下载requirements.txt,导致conda自动更新,出现了这个错误
采用更新request的方式解决不了。
解决办法:进入最后一个报错位置,将
“from requests.exceptions import JSONDecodeError”替换为
“from json import JSONDecodeError”,解决
今天在跑代码时,由于下载requirements.txt,导致conda自动更新,出现了这个错误
采用更新request的方式解决不了。
解决办法:进入最后一个报错位置,将
“from requests.exceptions import JSONDecodeError”替换为
“from json import JSONDecodeError”,解决