This could also happen when you have a newer version of Python installed (upgraded) since the last time you ran Ansible.
This fixed it for me. brew reinstall ansible ansible-lint
brew reinstall ansible ansible-lint