Thinking of changing careers!
Your previous education does not matter that much, it's way more about your suitability for the extremely demanding job of professional pilot. 

You can enter a range of differing training paths that lead, should you successfully complete the hard training, to an atp licence.

The ones that offer some kind of promise of getting hired, have rigorous selection processes.

Any training towards professional pilot license is ridiculously expensive, you'll have to consider that. It'll be years before it pays back financially.

Only you can be the judge of whether or not to pursue this, but a word of advice, if I may: it's a job, just like any else. It's really about how well you fit the job and vice versa. If you must become a pilot, you will.