The kaggle API documentation (https://github.com/Kaggle/kaggle-api) states that one needs python 3 installed to install kaggle. However, when installing kaggle with the command pip install --user kaggle
, it downloads to the wrong folder /usr/local/lib/python2.7/site-packages
os that when I run kaggle --version
, I get the error kaggle: command not found.
How can I install kaggle in my python 3 folder?
Ultimately, I'm trying to use the kaggle API by following the steps on their GitHub post (https://github.com/Kaggle/kaggle-api). They state that if I get the error kaggle: command not found
, I need to ensure that my python binaries are on the right path. I'm not quite sure what this means, but its definitely what's contributing to my problem.
I've installed kaggle using pip install kaggle
and pip install --user kaggle
, but both install to the directory at /usr/local/lib/python2.7/site-packages.
When running kaggle --version
, I got the command kaggle: command not found