Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run app.py error #11

Open
jeffsui opened this issue Feb 5, 2020 · 1 comment
Open

run app.py error #11

jeffsui opened this issue Feb 5, 2020 · 1 comment

Comments

@jeffsui
Copy link

jeffsui commented Feb 5, 2020

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?

@jeffsui
Copy link
Author

jeffsui commented Feb 5, 2020

I change env without conda, run app.py again.
Got another error msg:

AttributeError: 'Timeline' object has no attribute 'dump_options_with_quotes'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant