As you know there are dozens of phrasal verbs with "get". "Get by" implies "making do in difficult circumstances", but it is not really used when talking about relationships with people.
Instead, I would use "get along"
get along (phrasal verb): 3 : to be or remain on congenial terms
I had to find a way to get along with my college roommate, despite the fact that he snored, kept weird hours that interrupted my study time, played loud music, was inordinately fond of garlic in everything, had the worst eating habits imaginable, smelled like a cesspit, and would not stop talking about baseball. Fortunately he dropped out of school at the end of the first semester, otherwise I might still be in jail for his murder.
(Edit) "Put up with" is another good option, but it implies somewhat less tolerance than "get along":
I put up with my roommate's bad habits, but constantly thought about ways of getting rid of him.
Note: BrE includes the phrasal verb "get on" which seems to have a similar meaning, but, not. Not being British, I won't try to explain its use in case I get it wrong.