在导入py2neo时报错OverflowError: mktime argument out of range

img

在导入py2neo时报错OverflowError: mktime argument out of range 不知道该怎么改

报错是由于Interchange中的time模块引起的。根据github上py2neo项目的与此相同问题贴,某用户在使用2021.1.5版本时正常,升级为2021.2.0时出现此问题,是否是版本问题,可尝试升降py2neo版本看看能否解决问题。
问题贴:
Getting 'OverflowError: mktime argument out of range' while importing the database module from latest version of py2neo · Issue #916 · py2neo-org/py2neo · GitHub Hello All, Initially I was using a py2neo's version 2021.1.5 within my project and the database module was getting successfully imported in the code. But, when I have updated the py2neo version to the latest one i.e. 2021.2.0 and then I ... https://github.com/py2neo-org/py2neo/issues/916
以及新更新的interchage中的time模块,参考一下源码:
interchange/time.py at master · py2neo-org/interchange · GitHub Data type and interchange format library. Contribute to py2neo-org/interchange development by creating an account on GitHub. https://github.com/py2neo-org/interchange/blob/master/interchange/time.py

时间戳是有范围的, 0不在范围内