Rohit Gupta <rohit_gupta at amperehourenergy.com> added the comment: For the time being, changing the order of import is solving the problem. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue40242> _______________________________________