Error OverflowError: mktime argument out of range was reported when importing py2neo

created at 10-02-2021 views: 1

error

When importing py2neo, an error was reported OverflowError: mktime argument out of range.

reason and solution

The error is caused by the time module in Interchange. According to the same problem post of the py2neo project on github, a user is normal when using the 2021.1.5 version, and this problem occurs when upgrading to 2021.2.0. Whether it is a version problem, you can try to upgrade the py2neo version to see if the problem can be solved.
Question post:

https://github.com/py2neo-org/py2neo/issues/916

And the time module in the newly updated interchage, please refer to the source code:

https://github.com/py2neo-org/interchange/blob/master/interchange/time.py

Please log in to leave a comment.