You can try to set your environment environment to your local machine.
export KAGGLE_USERNAME=datadinosaur export KAGGLE_KEY=xxxxxxxxxxxxxx
For Colab, you can store your username and key token in Colab secrets.