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

ZeroDivisionError: division by zero #2

Open
ontheway1215 opened this issue Aug 1, 2018 · 3 comments
Open

ZeroDivisionError: division by zero #2

ontheway1215 opened this issue Aug 1, 2018 · 3 comments

Comments

@ontheway1215
Copy link

Traceback (most recent call last):
File "main.py", line 433, in
stats()
File "main.py", line 268, in stats
avg_build_year = total/count
ZeroDivisionError: division by zero

@lt-xu
Copy link

lt-xu commented Aug 10, 2018

我也遇到了同样的问题,请问你解决了吗

@ontheway1215
Copy link
Author

@SparkOfLife 没有

@lt-xu
Copy link

lt-xu commented Aug 12, 2018

我已经解决了,原因是没有将抓取的信息存入Mongodb,详情见我修改的代码

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

2 participants