Cannot download Kaggle competition

Hi

I am using the official Kaggle package and the command that I copy paste from Kaggle website, however I cannot download the competition files:

(fastai) atr@fastai-instance-1:~/data$ kaggle competitions download -c yelp-restaurant-photo-classification
-bash: /home/atr/.local/bin/kaggle: No such file or directory

Any idea?
Thanks!!

edit: I have no idea what happened but today it worked. I have not changed anything.