title: How do I point easy_install to vcvarsall.bat?
body: <p>I already have MSVC++ 2010 Express installed, and my vcvarsall.bat file is at <code>C:\Program Files\Microsoft Visual Studio 10.0\VC</code>, which is in my system PATH.  When I run <code>easy_install</code>, it can't find vcvarsall.bat.</p>
  
  <p>Is there something I need to set in my distutils.cfg file to point it to my MSVC++ installation?</p>
  
  <pre class="lang-none prettyprint-override"><code>G:\&gt;easy_install hg-git
  install_dir C:\Python26\Lib\site-packages\
  Searching for hg-git
  Best match: hg-git 0.2.6
  Processing hg_git-0.2.6-py2.6.egg
  hg-git 0.2.6 is already the active version in easy-install.pth
  
  Using c:\python26\lib\site-packages\hg_git-0.2.6-py2.6.egg
  Processing dependencies for hg-git
  Searching for dulwich&gt;=0.6.0
  Reading http://pypi.python.org/simple/dulwich/
  Reading http://samba.org/~jelmer/dulwich
  Reading http://launchpad.net/dulwich
  Best match: dulwich 0.7.1
  Downloading http://www.samba.org/~jelmer/dulwich/dulwich-0.7.1.tar.gz
  Processing dulwich-0.7.1.tar.gz
  Running dulwich-0.7.1\setup.py -q bdist_egg --dist-dir c:\docume~1\mlin\locals~1
  \temp\easy_install-fhraep\dulwich-0.7.1\egg-dist-tmp-qozily
  error: Setup script exited with error: Unable to find vcvarsall.bat
  </code></pre>