I am having the same issue as discussed in this topic on stackoverflow: https://stackoverflow.com/questions/69470579/python-package-dpath-segments-py-giving-infinite-recursion-on-a-simple-isinst Thanks!