Unable to debug C/C++ - GDB complains about Python version

Hello, I'm trying to get started with QTCreator as my IDE for C/C++, and I ran into an issue, in that I get the following message whenever I try to debug my program: "The selected build of GDB supports Python scripting, but the used version 0.0 is not sufficient for QtCreator. Supported versions are Python 2.7 and 3.x"

Which is rather strange, because if I run python --version, I get 3.6.4, and python2 --version is 2.7.14. GDB version is 8.1. I should probably mention that I'm running QTCreator 4.6.0, but the issue was present also in 4.5.2. OS is Manjaro, if that helps..
I'm guessing the problem is on my end, somehow, but I can't seem to figue out how to fix it.

Hello aha, thank you for the reply.
I've been able to get it running earlier this morning by manually specifying the kit, rather than relying on the auto-detected one. It's very strange, because it seems that it's the same selection.. GCC/GDB, and yet, when I manually select them, and create my own profile, it works.

I do have a newer gdb (8.1), indeed, but that doesn't seem to be the issue. I'm guessing there's some sort of configuration problem on my machine. I'm going to keep digging and see if I can find what caused it, though.

But first, I'll take Qt for a spin, and see why people say it's so good!