As a full time Agent and Investor I will say that there are many benefits of having your real estate license, however, being able to be an active agent is just not as simple as taking the license courses and passing the test - there are a lot of fees and costs to consider and if you are only going to buy 1-2 homes a year, it may just not be worth the time and financial costs.
Costs for being an active PA Real Estate Agent include:
1. MLS Fees
2. E&O Insurance (Errors and Omissions)
3. Real Estate Association Dues
4. Continuing Education Classes and State Licensing Fees
5. Broker's Cut (varies on brokerage but starting out your split is not going to be amazing ~30-50%)
Also commission are taxable income so also expect some of that as well. Not to deter you from getting your license, however, as stated above, if you are not selling 5+ homes a year, you are usually losing out financially. Also, if you are not familiar with the Agreement of Sale and other pertinent documents, you will have an initial learning curve - the license test does not teach how to be an agent. My advice, get an agent that is fast and able to make appointments right away.
Best of Luck!