nCoV-Map
nCoV-Map copied to clipboard
run app.py error
os: win10 education python version: 3.7.3 env: conda pyecharts version: 1.6.1 error message:
File "E:\code\nCoV-Map\app.py", line 44, in get_overall
overall = update_overall()
File "E:\code\nCoV-Map\logistic.py", line 25, in update_overall
overall_data = json.loads(requests.get(url).text)
File "E:\Anaconda3\lib\json\__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "E:\Anaconda3\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "E:\Anaconda3\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
can anyone help me?
I change env without conda, run app.py again. Got another error msg:
AttributeError: 'Timeline' object has no attribute 'dump_options_with_quotes'