This question is being asked on behalf of V. Alexeev.

Let X be a topological space.  It is well known that the abelian category of sheaves on X has enough injectives: that is, every sheaf can be monomorphically mapped to an injective sheaf.  The proof is similarly well known: one uses the concept of "generators" of an abelian category.

It is also a standard remark in texts on the subject that on a general topological space X, the category of sheaves need _not_ have enough projectives: i.e., there may exist sheaves which cannot be epimorphically mapped to by a projective sheaf.  (Dangerous bend: this means projective in the categorical sense, not a locally free sheaf of modules.)  For instance, wikipedia remarks that projective space with Zariski topology does not have enough projectives, but that on any spectral space (= a space homeomorphic to Spec R) there are enough projective sheaves.

Two questions:

1) Who knows an actual proof that there are not enough projectives on, say, P^1 over the complex numbers with the Zariski topology?  [What about the analytic topology, i.e., S^2?]

2) Is there a known necessary and sufficient condition on a topological space X for there to be enough projectives?  

EDIT: I meant the question to be purely for sheaves of abelian groups.  Eric Wofsey points out that the results alluded to above on wikipedia are not consistent when interpreted in this way, since A^1 and P^1 (over an algebraically closed field k) with the Zariski topology are homeomorphic spaces: both have the cofinite topology.

I am pretty sure that when V. Alexeev asked the question, he meant it in the topological category, so I won't try to change that.  But the other case is interesting too: what if 
(X,O_X) is a locally ringed space; does the abelian category of sheaves of O_X-modules have enough projectives?  (I think my earlier warning still applies: since -- when X is a scheme -- not every O_X-module is coherent, it is not clear that "projective sheaves" means "locally free sheaves" here -- even if we made finiteness and Noetherianity assumptions to get locally free and projective to coincide.)