title: AttributeError: module 'PIL.ImageFile' has no attribute 'ImageFile'
body: <p>AttributeError: module 'PIL.ImageFile' has no attribute 'ImageFile'</p>
  
  <p>I have installed PIL with the command "pip install pillow"</p>
  
  <pre><code>From PIL import Image
  sourceFileName = "source.png"
  Avatar= Image.open(sourceFileName)
  </code></pre>
  
  <pre><code>File "d:/sourcecode/test.py", line 3, in &lt;module&gt;
     Avatar= Image.open(sourceFileName)
  File "C:\**\Python37-32\lib\site-packages\PIL\Image.py", line 2663, in open
     Preinit()
  File "C:\**\Python37-32\lib\site-packages\PIL\Image.py", line 381, in preinit
     From . import BmpImagePlugin
  File "C:\**\Python37-32\lib\site-packages\PIL\BmpImagePlugin.py", line 61, in &lt;module&gt;
     Class BmpImageFile(ImageFile.ImageFile):
  AttributeError: module 'PIL.ImageFile' has no attribute 'ImageFile'
  </code></pre>