How can I calculate $H^i(Gr(2,7),\mathcal{O}_{Gr(2,7)})$ over the base field $\mathbb{C}$?
Or in general $H^i(Gr(k,n),\mathcal{O}_{Gr(k,n)})$?
The first idea came to my mind is using Plücker embedding $i:Gr(2,7)\hookrightarrow\mathbb{P}^{20}$ and the long exact sequence associated to the ideal sheaf exact sequence $$0\rightarrow\mathcal{I}_{Gr(2,7)}\rightarrow\mathcal{O}_{\mathbb{P}^{20}}\rightarrow{i_*}\mathcal{O}_{Gr(2,7)}\rightarrow{0}\,.$$
But I don't know how to calculate $H^i(Gr(2,7),\mathcal{I}_{Gr(2,7)})$ either.
(For some reason, my perfectly valid answer was deleted without notifications. More than 5 people said that this does not provide an answer to the question. This is quite surprising as the theorem literally does provide the answer to the question.)
The original answer : this follows from the Borel-Weil theorem. Indeed, $L = \mathcal O_{Gr(2,7)}$ is the line bundle associated to the trivial representation. Hence $H^0(X,L) = \mathbb C$ and $H^i(X,L) = 0$ for $i>0$. This works for any flag variety $X = G/P$ where $G$ is a semisimple algebraic group, and $P$ is a parabolic subgroup.