We will attempt a proof by contradiction.
Assume there exists two integers $p$ and $q$ such that $\left(\frac{p}{q}\right)^2 =64$.
Hence, $p^2 = 6 \cdot q^2$.
Thus, $6 | p$ and $3 | p$.
Let $3 \cdot r=p$, where $r$ is an integer. Then, $9 \cdot r^2=6 \cdot q^2$.
Thus, $q^2=\frac{3}{2}\cdot r^2$.
Suppose $r =5$. Then, $q^2=37.5$.
Therefore, $q$ cannot be an integer, which is in contradiction with the original statement.
Note: very new to proofs (2nd one) so apologies for bad formatting etc.