According to Wolfram Alpha, $(-1)^\pi \approx -0.90 + 0.43i$.
But $\pi$ has proven to be irrational (we can't write $\pi$ in terms of a fraction $a/b$ with $a$ and $b$ integers) and, in the real numbers, a negative number raised to a fraction with even denominator is undefined*.
So why is $(-1)^\pi$ a complex number, if there is no even denominator?
*Of course there are exceptions, like $(-1)^{4/2} = (-1)^2 = 1$ and $(-1)^{6/2} = (-1)^3 = -1$, but consider that the numerator is not a multiple of the denominator.
This has to do with complex numbers. $$(-1)^{\pi}=\left(e^{i\pi}\right)^{\pi}=e^{i\pi^2}=\cos{\pi^2}+i\sin{\pi^2}$$ which is the value given by WolframAlpha.
However, since $-1=e^{(2n+1)\pi i}$ for every integer $n,$ there are actually infinitely many values of $(-1)^\pi.$ With complex numbers, exponentiation works differently from the way it does with real numbers.