Open demongolem opened 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.
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’?