Error installing python-docx
<p>Trying to install python-docx through pip for 'Learn to Automate the Boring Things with Python'. I am getting errors like <a href="http://imgur.com/a/el2oY" rel="nofollow">this</a>. </p>

<p>I have Googled up some solutions to this issue, but they don't seem to work for me, or I am not deploying the solution correctly. </p>

<p>One post on Stackoverflow said to download an lxml file made available by <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml" rel="nofollow">Christoph Golke</a>. </p>

<p>I downloaded, and then tried 'pip install lxml', and basically got the same error message as the screenshot, telling me 'Unable to find vcvarsall.bat'.</p>

<p>Am I supposed to put this file in a certain directory, before executing that command? Any help would be appreciated. </p>

<p>This mean that C++ Common Tools are not installed.<br>
To install them for Python2.7 go to <a href="https://www.microsoft.com/en-us/download/details.aspx?id=44266" rel="nofollow">Microsoft Visual C++ Compiler for Python 2.7</a><br>
For python3 install <code>Visual Studio Community 2015</code> and execute the following command:  </p>

<pre><code>SET VS90COMNTOOLS=%VS140COMNTOOLS% 
</code></pre>

python python-2.7 python-3.x pip