I had the same error as you suggested, I forced the previous version.
In the Release history [https://pypi.org/project/kaleido/#history][1] you can see too many breaking changes.