floydwch / kaggle-cli

(Deprecated, use https://github.com/Kaggle/kaggle-api instead) An unofficial Kaggle command line tool.
MIT License
675 stars 92 forks source link

ConfigParser instance has no attribute 'read_file' #70

Open newns92 opened 6 years ago

newns92 commented 6 years ago

I keep getting the error ConfigParser instance has no attribute 'read_file' when running !kg config -g -u username -p password -c competition.

If it means anything, I am using Python 2.7.14 (default, Sep 23 2017, 22:06:14) [GCC 7.2.0] on linux2 via Google Colab

Hoiy commented 6 years ago

I hit the same issue when using !kg submit in Google Colab, turns out that I have installed the library using Python 2 runtime and then switched to Python 3 runtime midway. Just reinstalling under Python 3 runtime solves my issue.