Uh, are you asking a question? Is your second message saying you run amazon linux?
What is the context of your post?
Without context or a question, it looks like you had a similar problem to me when I updated my python packages in FreeBSD.
To solve the problem, I downgraded my python packages, but they were updated to working versions again within a few days anyway.
I, uh, hope that answers your question