title: pyproj with Python 2.7.9 on win7 64 gives "Unable to find vcvarsall.bat"
body: <p>I need to install pyproj on my machine and it give the above mentioned error. I guess it would be the same for other python components that are using C++ code:</p>
  
  <p>My situation:</p>
  
  <p>Win 7 64 bit running.</p>
  
  <p>installed:</p>
  
  <ul>
  <li>VS 2008 express</li>
  <li>MS VS patch for python 2.7 <a href="http://www.microsoft.com/en-us/download/confirmation.aspx?id=44266" rel="nofollow">http://www.microsoft.com/en-us/download/confirmation.aspx?id=44266</a></li>
  <li>Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505" rel="nofollow">http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505</a></li>
  <li>Python Setup Tools available here: <a href="http://pypi.python.org/pypi/setuptools#downloads" rel="nofollow">http://pypi.python.org/pypi/setuptools#downloads</a></li>
  </ul>
  
  <p>set up the path variables and set</p>
  
  <p>VS90COMNTOOLS
  Value: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools</p>
  
  <p>I try to install the pyproj: <a href="http://jswhit.github.io/pyproj/" rel="nofollow">http://jswhit.github.io/pyproj/</a></p>
  
  <p>but it returns the same error:</p>
  
  <pre><code>  File "msvc9compiler.py", line 271, in  query_vcvarsall raise DistutilsPlatformError("Unable to find vcvarsall.bat") distutils.errors.DistutilsPlatformError: Unable to find vcvarsall.bat
  </code></pre>
  
  <p>the purpose of this is to get the pygrib package running: <a href="http://jswhit.github.io/pygrib/docs/index.html" rel="nofollow">http://jswhit.github.io/pygrib/docs/index.html</a></p>
  
  <p>Does anybody know how to solve the problem?</p>