We compute the internal energy of different Ising type models, both long--range and short--range, under Tsallis statistics using the microcanonical and the canonical ensembles and we discuss under which conditions both ensembles give equivalent results.