Thanks for reaching out to Q&A.
I am answering this from second method's perspective. It appears that the problem is with the python/packages version. Here are some common issues encountered by other developers, please check out these discussions to see if it helps.
Feel free to reach out to me if the above articles doesn't help.