There are certain questions a writer will be asked at some point:
1) Are you published?
2) How do you write?
3) Do you base your characters on anyone you know?
I'm going to answer number 3.
3) Yes and no. Characters are a weird. Some like to pop into your brain fully formed and ready to cooperate. Some take time to show who they are. I've never based a character on a particular person. Aspects of their personality may be taken from my friends and family and people I know. I may even add a bit of myself in there. Also, I like to people watch. A character may come from the person in the street/shop who was doing something interesting/reacting in a certain way.
Inspiration is all around. Drawing on what you know, what you want to know, what your experiences are etc., can help create a rich, complex character for you to weave into your story.
How do you create your characters?