She might not be ready to potty train at just 2 years of age. According to WebMD:
A child is considered toilet-trained when he or she knows that it is time to go to the bathroom and is able to climb onto and use the toilet with little help. In a study of children who started training between 22 and 30 months of age, boys were fully trained at an average age of 38 months, while girls were trained slightly earlier, around 36 months.
Having said that, my parents claim that my brother and myself were potty trained by the age of 2, and blame the comfort of current diapers as the cause. If we drank orange juice, it caused us huge rashes, and so we wanted to get out of diapers as soon as possible to avoid this rash. Current diapers, however, are so absorbent that the orange juice trick won't work.
Our son had to be ready to potty train. Until he was ready, any and all of our attempts just met with frustration; now, he just runs to the toilet yelling how much he needs to go, and does it himself. He's also very angry if we try to put a diaper on him at night, since "diapers are for babies." He's 3.5 years old now, and that last bit has only happened in the last three months or so. He started going to the toilet on his own at around 2.75 years, but not for pooping-- that came later (really, right around the time he didn't want to have a diaper at night).
Good luck.