"Hey, I'm really interested in your experience teaching kids how to create GUIs using tkinter. Could I ask you about that over coffee?" If there's a persistent misunderstanding that this is a romantic conversation, you just gotta leave it -- nothing else to do.
I care when a woman takes a totally innocuous statement or question the wrong way and thinks to her self "That guy is creepy."
I care when she tells her friends "stay away from that guy, he's a creep."
I care when she gets promoted and becomes my boss and thinks "that guys a creep."
You're missing the point. The horrible outcome is that she will forever hold the irrational concern that you're hitting on her. It will colour everything you say or do.
The parent poster's point is that you really can't let that bother you, and that in situations like these a thicker skin for awkwardness pared with straightforward but polite communication will serve you better in the long run.
Your best move is to play the game with both hands above the table, not to avoid playing the game at all.
Here's a suggestion for what to say: "Sounds like there's some sort of misunderstanding. I'm not interested in you as anything more than a coworker. We're on the same team and I need to know how to work with you. If you don't want coffee how about we just chat sometime in a meeting room?"
If they're still being weird about it, then it's probably worth discussing with your manager because that other person is probably generally difficult to work with. Also to cover your own ass from the specter of future sexual harassment issues if that's what you're worried about.
If you're just worried about the other person making it weird... I don't mean to dismiss the concern, but there are plenty of weird people out there, and it's unimportant in the grand scheme of things.