title: Module Not Found Error for 'pdf2image' in Python Script
body: <p>I am working on a project to extract text from a bunch of scanned PDF's.  I am following this <a href="https://towardsdatascience.com/extracting-text-from-scanned-pdf-using-pytesseract-open-cv-cd670ee38052" rel="nofollow noreferrer">tutorial</a>.  One of the first steps involves importing modules.  I'm having some trouble importing 'pdf2image'.  For context, I'm using a Conda environment called, &quot;textExtractor&quot; in VS Code's Python terminal.  I checked if pdf2image was installed by running &quot;Conda list&quot; and it looks to be installed.  However, when I run the python script I get an error saying,</p>
  <blockquote>
  <p>(textExtractor)
  C:\Users\mhiebing\Documents\GitHub_Repos\MonthlyStatsExtract&gt;C:/Users/mhiebing/Anaconda3/python.exe
  c:/Users/mhiebing/Documents/GitHub_Repos/MonthlyStatsExtract/PDF_to_Image.py</p>
  <p>Traceback (most recent call last):   File
  &quot;c:/Users/mhiebing/Documents/GitHub_Repos/MonthlyStatsExtract/PDF_to_Image.py&quot;,
  line 1, in 
  from pdf2image import convert_from_path, convert_from_bytes</p>
  <p>ModuleNotFoundError: No module named 'pdf2image'</p>
  </blockquote>
  <p>Below is a screenshot showing pdf2image and the error:
  <a href="https://i.stack.imgur.com/tPAV6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tPAV6.jpg" alt="enter image description here" /></a></p>
  <p>Any idea what's going wrong?</p>