You don't need a partner. I know, this is really counterintuitive, but hear me out.
If you are angsting about not having a significant other, ask yourself this question: What is a significant other for?
Is it for sex? Well, I feel bad for you, sex is pretty awesome. You also don't need a girlfriend to get off.
Is it to keep you from feeling lonely? You can fill that space with hobbies and friends and other things you enjoy doing, with a variety of people. You don't need a romantic relationship for that.
Is it to fill the boyfriend-shaped hole in your life? Do you think you'll feel better about yourself, or do more things, or be more motivated, or whatever, if you have a significant other? Newsflash: no, you won't. Romantic attachments don't solve a lot of problems.
You don't truly need a romantic relationship, and understanding that is actually one of the best ways to get one, paradoxically, because you're not going after it because you need. That's clingy and desperate and a turn-off. People preach confidence, but it's the confidence to fail, to go home without a date, to have dry spells: that's the kind of confidence you need.