You can apply from Canada - but the chances of refusal are higher. You should apply from your home country.
As part of the application process you will need to demonstrate that you have tied to your home country and are a genuine tourist. It is easier to show this if you apply from your home country than from Canada.