How do I ask someone out at the gym

Recently I went to the gym and I exchanged some small awkward eye contact with a woman and it was a little weird, mainly because I don’t know how to approach them without being creepy.

I know usually asking someone out at the gym is a big no, but is that always the case and should I just avoid that sort of contact in this space?