title: I'm having difficulty installing pdftotext for python
body: <p>I am trying to install <code>pdftotext</code>, but I keep receiving the same error even after installing the visual tools.</p>
  <p>This happens for both <code>pip install</code> and I am just trying to find it in my directory...</p>
  <p><em>Terminal output below:</em></p>
  <pre><code>C:\Users\garec\Downloads&gt;pip3 install pdftotext-2.1.4.tar.gz
  Processing c:\users\garec\downloads\pdftotext-2.1.4.tar.gz
  Using legacy setup.py install for pdftotext, since package 'wheel' is not installed.
  Installing collected packages: pdftotext
      Running setup.py install for pdftotext ... error
      ERROR: Command errored out with exit status 1:
       command: 'C:\Users\garec\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'C:\\Users\\garec\\AppData\\Local\\Temp\\pip-req-build-9ov7_rup\\setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'C:\\Users\\garec\\AppData\\Local\\Temp\\pip-req-build-9ov7_rup\\setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' install --record 'C:\Users\garec\AppData\Local\Temp\pip-record-4zlbnvu1\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\garec\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\Include\pdftotext'
           cwd: C:\Users\garec\AppData\Local\Temp\pip-req-build-9ov7_rup\
      Complete output (7 lines):
      WARNING: pkg-config not found--guessing at poppler version.
               If the build fails, install pkg-config and try again.
      running install
      running build
      running build_ext
      building 'pdftotext' extension
      error: Microsoft Visual C++ 14.0 is required. Get it with &quot;Build Tools for Visual Studio&quot;: https://visualstudio.microsoft.com/downloads/
      ----------------------------------------
  ERROR: Command errored out with exit status 1: 'C:\Users\garec\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'C:\\Users\\garec\\AppData\\Local\\Temp\\pip-req-build-9ov7_rup\\setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'C:\\Users\\garec\\AppData\\Local\\Temp\\pip-req-build-9ov7_rup\\setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' install --record 'C:\Users\garec\AppData\Local\Temp\pip-record-4zlbnvu1\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\garec\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\Include\pdftotext' Check the logs for full command output.
  </code></pre>