In Ontario Canada at least, we have to go to OREA (Ontario Real Estate Agency) for the courses. There are 3 main ones, for a total cost of $1820. You have 18 months to complete all 3. Then there are 3 Articling course that are also required with a 2 year timeframe for completion.
Then there are various fees for different agencies that are required. I had a coffee chat with one of the Real Estate companies here in Ottawa. He went over all the info regarding getting a license, plus he provided me with a booklet that outlined ALL the required fees after you get your license. Plus the commission is divided amongst you, the broker and other places.
So, IMHO, while it can be a good thing to have, the initial outlay of funds before you even make your first deal maybe a little difficult to obtain in the beginning. If it is not required where you live then maybe hold off, at least until you can get your first deal closed and get the funds generated from that deal.