title: Import failure of a module in PyCharm
body: <p>I am using Python to write various small scripts on Windows10.
  I want to use module Pillow in PyCharm to manage a picture library.
  My piece of code starts like this :</p>
  
  <pre><code>import os
  import Pillow
  </code></pre>
  
  <p>When I run it, I get the following error message:</p>
  
  <blockquote>
    <p>"C:\Users\steph\PycharmProjects\Carte SD Alex\venv\Scripts\python.exe" "C:\Users\steph\PycharmProjects\Carte SD Alex\Originals requested list.py"
    Traceback (most recent call last):
      File "C:\Users\steph\PycharmProjects\Carte SD Alex\Originals requested list.py", line 3, in 
        import Pillow
    ModuleNotFoundError: No module named 'Pillow'
    Process finished with exit code 1</p>
  </blockquote>
  
  <p>I tried to import the Pillow module from the user interface (menu File - Settings, then Project: my>Project - Python interpreter, + on the right). I find Pillow, then click "Install package".</p>
  
  <p>An error occurs and I get the following message :</p>
  
  <blockquote>
    <p>Command ""C:\Users\steph\PycharmProjects\Carte SD
    Alex\venv\Scripts\python.exe" -u -c "import setuptools,
    tokenize;<strong>file</strong>='C:\Users\steph\AppData\Local\Temp\pycharm-packaging\Pillow\setup.py';f=getattr(tokenize,
    'open', open)(<strong>file</strong>);code=f.read().replace('\r\n',
    '\n');f.close();exec(compile(code, <strong>file</strong>, 'exec'))" install
    --record C:\Users\steph\AppData\Local\Temp\pip-record-br8j8tkm\install-record.txt
    --single-version-externally-managed --compile --install-headers "C:\Users\steph\PycharmProjects\Carte SD
    Alex\venv\include\site\python3.8\Pillow"" failed with error code 1 in
    C:\Users\steph\AppData\Local\Temp\pycharm-packaging\Pillow\</p>
  </blockquote>
  
  <p>I have the complete log available if that can help.
  I have search many forums and found different causes and ways of solving. I tried them without success.
  I have checked with the interpreter itself but it works.</p>
  
  <p>Command line :</p>
  
  <blockquote>
    <p>C:\Users\steph>pip install Pillow Requirement already satisfied:
    Pillow in
    c:\users\steph\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages
    (7.1.1)</p>
  </blockquote>
  
  <p>Anyway, if I try to use the module in python directly, il fails with the same error code :</p>
  
  <blockquote>
    <p>C:\Users\steph>python Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020,
    23:03:10) [MSC v.1916 64 bit (AMD64)] on win32 Type "help",
    "copyright", "credits" or "license" for more information.</p>
    
    <blockquote>
      <blockquote>
        <blockquote>
          <p>import Pillow Traceback (most recent call last):   File "", line 1, in  ModuleNotFoundError: No module named 'Pillow'</p>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>
  
  <p>I have only one version of Python installed.</p>
  
  <p>Can anyone help me?</p>