If $n = 2$, I know that $T^2$ doesn't have a metric $g$ such that the sectional curvature $k < 0$ everywhere, otherwise,
$$0 = 2 \pi (2 - 2 * 1) = 2 \pi \chi(T^2) = \int_{T^2} k d\sigma < 0$$
from Gauss-Bonnet's theorem, which is a contradiction, but I don't know how to prove this for $n > 2$. I thought maybe use a corollary of Bonnet-Myers' theorem could be used to prove this once that it is used to prove that the $n$-torus doesn't have a metric $g$ such that the sectional curvature $k > 0$ everywhere. I would like to receive a hint about how to prove that the $n$-torus ($n > 2$) doesn't have a metric $g$ such that the sectional curvature $k < 0$ everywhere.
Thanks in advance!