kaggle-cli icon indicating copy to clipboard operation
kaggle-cli copied to clipboard

What python versions does this work with?

Open demongolem opened this issue 5 years ago • 1 comments

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’?

demongolem avatar Oct 13 '20 13:10 demongolem

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.

strahl2e avatar Dec 16 '20 13:12 strahl2e