When and where did Ptolemy live?

People aren't exactly sure when he lived, but they say from the year 87-150. He lived in Alexandria, Egypt