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

created at 10-02-2021 views: 15


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:

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

created at:10-02-2021
edited at: 10-02-2021: