If you can believe a pet is enough, at least on a temporary basis, then you'll buy yourself a healthy amount of time during which you can focus on finding the right person for you.
A pet needs you more than your people need you
A pet needs no one else in the world but you.
They rely on only you for entertainment, food, and love. You are their everything -- and that brings with it a lot of responsibility. This requires maturity. And planning. And commitment. These are all things you'll need when you meet the right person and convince them you're not a crazy cat guy.
Your friends might love you, but they have other friends. Your family might love you, but you're out on your own now (I hope). Only your fluffy, furry pet friend looks exclusively to you for a dimension of love they can't find anywhere else. And, bonus: If this is an animal you've adopted or rescued, you've literally saved its life.
Go ahead, bask in this incredible power.
A pet allows you to feel more comfortable with being alone
Patience does not imply forever, of course. I'm not saying you'll get a pet and never crave human love again.