Kaggle / kaggle-api

Official Kaggle API
Apache License 2.0
6.13k stars 1.08k forks source link

There isn't .kaggle in C:\Users\<Windows-username> #423

Open ljhOfGithub opened 2 years ago

ljhOfGithub commented 2 years ago

what is PYTHON_HOME?how to set PATH variable in Windows? I am a beginner in Kaggle.There isn't kaggle.exe after executing ‘pip install kaggle' in my folder 'C:\Python310\Scripts' My command line:

pip install kaggle
Requirement already satisfied: kaggle in c:\python310\lib\site-packages (1.5.12)
Requirement already satisfied: six>=1.10 in c:\python310\lib\site-packages (from kaggle) (1.16.0)
Requirement already satisfied: certifi in c:\python310\lib\site-packages (from kaggle) (2021.10.8)
Requirement already satisfied: python-dateutil in c:\python310\lib\site-packages (from kaggle) (2.8.2)
Requirement already satisfied: requests in c:\python310\lib\site-packages (from kaggle) (2.27.1)
Requirement already satisfied: tqdm in c:\users\ljh\appdata\roaming\python\python310\site-packages (from kaggle) (4.64.0)
Requirement already satisfied: python-slugify in c:\users\ljh\appdata\roaming\python\python310\site-packages (from kaggle) (6.1.2)
Requirement already satisfied: urllib3 in c:\python310\lib\site-packages (from kaggle) (1.26.9)
Requirement already satisfied: text-unidecode>=1.3 in c:\users\ljh\appdata\roaming\python\python310\site-packages (from python-slugify->kaggle) (1.3)
Requirement already satisfied: idna<4,>=2.5 in c:\python310\lib\site-packages (from requests->kaggle) (3.3)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\python310\lib\site-packages (from requests->kaggle) (2.0.12)
Requirement already satisfied: colorama in c:\users\ljh\appdata\roaming\python\python310\site-packages (from tqdm->kaggle) (0.4.4)
khanfarhan10 commented 1 year ago

what is PYTHON_HOME?

PYTHON_HOME is the location of the standard Python libraries installed. It is almost always fixed and need not be changed.

how to set PATH variable in Windows?

Try running kaggle -v -> should tell you the status of the installation. These logs will be helpful.

sunny1401 commented 1 year ago

I could be wrong - but the file isn't created on installation. To get it and use public API you need to create api token from your account. That would generate and download the file which then has to be placed at the location. More info here