Hi! Welcome to the forum.
First, note that
A number is perfect by definition iff:
Assume is perfect, since we have:
This is a contradiction, thus the power of a prime can't be perfect.
We could also prove it as follows, if it was true: which is a contradiction because the LHS is a multiple of p while the RHS is not.