floydwch / kaggle-cli

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

What python versions does this work with? #81

Open demongolem opened 3 years ago

demongolem commented 3 years ago

I don't think 3.8 is supported because when I do a pip install I have build issues with lxml.

The trace is long with a lot of near-identical lines, but here is a sample for gist.

src/lxml/etree.c:244690:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?

strahl2e commented 3 years ago

I got a similar error using Python 3.8 and 3.9. This code seems to have been published around 2016, so I looked for the Python version at that time (https://en.wikipedia.org/wiki/History_of_Python#Table_of_versions), which was 3.5. Using an Anaconda environment I installed Python 3.5 and the pip install kaggle-cgi ran smoothly.