Install python for windows. Then install setuptools. This should add easy_install.exe
file in the Scripts
folder of your python
directory (something like: C:\Python26\Scripts\
in my computer. It may be different for you.) Add C:\Python26\Scripts
to your system path using user variables. You may wish to use a user friendly editor: path editor for this purpose.
Now with internet on, go to the command prompt and type easy_install pygments
.

Now you may have to restart your computer. And there you go. Try this test file:
\documentclass{article}
\usepackage{amsmath}
\usepackage{minted} % loads fancyvrb
\newenvironment{eqnexample}
{\VerbatimOut{\jobname.tmp}}
{\endVerbatimOut
\inputminted{latex}{\jobname.tmp}
\input{\jobname.tmp}}
\begin{document}
\begin{eqnexample}
\begin{align}
d &= \sqrt{ (x'-x)^2 }
\\
e &= 0
\end{align}
\end{eqnexample}
\begin{eqnexample}
\begin{multline}
d = \sqrt{ (x'-x)^2 } \\
= f(x,x')
\end{multline}
\end{eqnexample}
\end{document}

;-)
– user11232 Apr 14 '13 at 10:55