title: 'No module named PIL' Visual Studio Code Error
body: <p>I'm having a problem with PIL where vs code says there is no module named PIL when there is. If I run the file without vs code the module imports fine. In the vs code problem tab it says this:</p>
  <pre><code>import PIL could not be resolved from source. Pylance(reportmissingmodulesource) 
  </code></pre>
  <p>I know the library is installed because if I do <code>pip install pillow</code>, it says requirement already satisfied.</p>
  <p><strong>Things I've tried to fix it:</strong> reinstalling python, uninstalling and reinstalling pillow, upgrading pip, installing the PIL library(<code>pip install Pillow-PIL</code>).</p>
  <p>None of these things worked so I am out of ideas for things to try. Could someone help me with this?</p>