Try doing a pip install kaggle-cli --upgrade and see if it resolves the issue.
pip install kaggle-cli --upgrade
Also, see similar issues here and here. Maybe these will help?