It is a standard consequence of Hurewicz's theorem that a homology eqivalence between simply connected spaces is a weak equivalence (and hence a homotopy equivalence, if the spaces are CW-complexes). 


What is more, it is even enough to assume that the map is a homology equivalence with local coefficients and an iso on $\pi\_1$, see e.g. [this question](https://mathoverflow.net/questions/55260/reference-needed-isomorphism-on-pi-1-and-homology-gives-weak-equivalence). 


(On the other hand, a map which is only a homology equivalence does not need to be an isomorphism on $\pi\_1$ and hence not a weak equivalence.)



> 
> What is a concrete example of a map that is an isomorphism on homology with $\mathbb Z$ coefficients, and also an isomorphism on $\pi\_1$, but *not* a weak equivalence?
> 
> 
> 



Homology equivalence and isomorphism on $\pi_1$ not enough for homotopy equivalence?
Let $X$ be the CW complex obtained from $S^1 \vee S^n$, $n>1$, by attaching an $(n+1)$-cell via a map $S^n\to S^1\vee S^n$ representing the element $2t-1$ in $\pi\_n(S^1\vee S^n) \cong {\mathbb Z}[t,t^{-1}]$, so $\pi\_n(X)\cong{\mathbb Z}[t,t^{-1}]/(2t-1)\cong {\mathbb Z}[1/2]\subset{\mathbb Q}$. The inclusion map $S^1 \to X$ then induces an isomorphism on homology and on $\pi\_i$ for $i<n$ but not on $\pi\_n$.


This example relies heavily on the nontriviality of the action of $\pi\_1$ on $\pi\_n$, but this is necessary since Whitehead's theorem that homology isomorphisms between simply-connected CW complexes are homotopy equivalences holds more generally for CW complexes with trivial action of $\pi\_1$ on all homotopy groups including $\pi\_1$. (This is Proposition 4.74 in my Algebraic Topology book, and the example is Example 4.35. Sorry for the self-references, but I should know the book as well as anyone!)


