 Wylie attended Transylvania University and Indiana University Bloomington, graduating from the latter in 1832.He studied law with Walter Forward, and was admitted to the bar in 1837.He practiced in Pittsburgh, Pennsylvania, from 1837 to 1848, serving at some point on the Pittsburgh City Council and acting in 1845 as Pittsburgh city attorney.