Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OSError: Could not find kaggle.json. Make sure it's located in C:\Users\Lior\.kaggle. Or use the environment method

Tags:

python

pip

kaggle

I have a similar problem as: Kaggle API issue "Could not find kaggle.json. Make sure it's located in......"

I have the same error when I type kaggle competitions download -c spaceship-titanic

But in my case the folder ".kaggle/" is actually empty. So I assume I downloded kaggle api incorrectly, how I download it correctly?

Things I have tried acccording to https://github.com/Kaggle/kaggle-api

pip install kaggle, pip install --user kaggle, sudo pip install kaggle

The first two compiled, but didnot create the kaggle.json file.

The third didnot compiled and it said sudo command not found.

like image 889
lior1zh2000 Avatar asked Dec 12 '25 04:12

lior1zh2000


1 Answers

Sample photo for finding the accounts page

Sample photo for finding the accounts page

like image 154
Whereismywall Avatar answered Dec 14 '25 00:12

Whereismywall