HINT: Prove there does not exist a rational number that satisfies $x^3=p/q$

We may assume that $p$ and $q$ are relatively prime. Suppose there are relatively prime integers $a$ and $b$ such that $\left(\dfrac{a}{b}\right)^3=\dfrac{p}{q}$. Then $$a^3q=b^3p.\tag{$1$}$$

It is easy to see that $a^3$ and $b^3$ are relatively prime. For if they are not, then there is a prime $r$ that divides both. But then $r$ divides $a$ and $b$.

Now argue that $a^3$ divides $p$ and $p$ divides $a^3$. Since you asked for a hint, we leave this part out.

Conclude from the above result that $p=\pm a^3$.

A similar argument shows that $q$ is the cube of an ineger.