Let $p:S^n\rightarrow \mathbb{R}P^n(n\geq 2)$ be the double covering. $S^n$ is simply connected and locally path connected, and $\mathbb{Z}/2\mathbb{Z}$ acts on this evenly, so $\pi_1(\mathbb{R}P^n)=\mathbb{Z}/2\mathbb{Z}$.
I think the assumption is satisfied in the complex case - complex sphere $S^n_{\mathbb{C}}$ and $\mathbb{C}P^n$, so $\pi_1(\mathbb{C}P^n)=\mathbb{Z}/2\mathbb{Z}.$ Where am I wrong?
The group that acts on $S^n_{\Bbb C}$ is not $\Bbb Z/2\Bbb Z$, but $S^1=\Bbb R/\Bbb Z$: in $\Bbb C$ the relation on the unitary vectors is $x\sim y\iff \exists \theta\in\Bbb R,\ x=e^{i\theta}y$ and not "$x=\pm y$".
The action of $S^1$ on $S^n_{\Bbb C}$ given by scalar complex multiplication, however, is not properly discontinuous and (therefore) the quotient map is not a covering.
A direct way to see that the standard projection $S^n_{\Bbb C}\stackrel\pi\longrightarrow \Bbb CP^n$ is not a covering is this: the fibers of a covering are by definition discrete sets. However, the fibers of this map are $$\pi^{-1}([v])=\{e^{i\theta}v\,:\,\theta\in\Bbb [0,2\pi)\}$$ which is homeomorphic to $S^1$.