title: Can't make executable file with Pyinstaller 3.3 and Python 3.6
body: <p>I can't get to make an .exe file using Pyinstaller 3.3 and python 3.6, on Windows 10 64bits.<br>
  I know all the dependencies are installed because i can run my script without any problems, from the command line.<br>
  I checked Pyinstaller page and they say python 3.6 is now supported.</p>
  
  <pre><code>E:\Fichier\Programming\Python&gt;pyinstaller CheckNewEpisodes.py
  371 INFO: PyInstaller: 3.3
  372 INFO: Python: 3.6.1
  372 INFO: Platform: Windows-10-10.0.15063-SP0
  374 INFO: wrote E:\Fichier\Programming\Python\CheckNewEpisodes.spec
  376 INFO: UPX is not available.
  377 INFO: Extending PYTHONPATH with paths
  ['E:\\Fichier\\Programming\\Python', 'E:\\Fichier\\Programming\\Python']
  377 INFO: checking Analysis
  378 INFO: Building Analysis because out00-Analysis.toc is non existent
  378 INFO: Initializing module dependency graph...
  380 INFO: Initializing module graph hooks...
  382 INFO: Analyzing base_library.zip ...
  Traceback (most recent call last):
    File "&lt;string&gt;", line 41, in &lt;module&gt;
    File "&lt;string&gt;", line 13, in walk_packages
    File "c:\users\del\appdata\local\programs\python\python36\lib\pkgutil.py", line 127, in iter_modules
      for name, ispkg in iter_importer_modules(i, prefix):
    File "c:\users\del\appdata\local\programs\python\python36\lib\pkgutil.py", line 146, in _iter_file_finder_modules
      import inspect
    File "c:\users\del\appdata\local\programs\python\python36\lib\inspect.py", line 40, in &lt;module&gt;
      import linecache
    File "c:\users\del\appdata\local\programs\python\python36\lib\linecache.py", line 11, in &lt;module&gt;
      import tokenize
    File "c:\users\del\appdata\local\programs\python\python36\lib\tokenize.py", line 33, in &lt;module&gt;
      import re
    File "c:\users\del\appdata\local\programs\python\python36\lib\re.py", line 142, in &lt;module&gt;
      class RegexFlag(enum.IntFlag):
  AttributeError: module 'enum' has no attribute 'IntFlag'
  Traceback (most recent call last):
    File "&lt;string&gt;", line 41, in &lt;module&gt;
    File "&lt;string&gt;", line 13, in walk_packages
    File "c:\users\del\appdata\local\programs\python\python36\lib\pkgutil.py", line 127, in iter_modules
      for name, ispkg in iter_importer_modules(i, prefix):
    File "c:\users\del\appdata\local\programs\python\python36\lib\pkgutil.py", line 146, in _iter_file_finder_modules
      import inspect
    File "c:\users\del\appdata\local\programs\python\python36\lib\inspect.py", line 40, in &lt;module&gt;
      import linecache
    File "c:\users\del\appdata\local\programs\python\python36\lib\linecache.py", line 11, in &lt;module&gt;
      import tokenize
    File "c:\users\del\appdata\local\programs\python\python36\lib\tokenize.py", line 33, in &lt;module&gt;
      import re
    File "c:\users\del\appdata\local\programs\python\python36\lib\re.py", line 142, in &lt;module&gt;
      class RegexFlag(enum.IntFlag):
  AttributeError: module 'enum' has no attribute 'IntFlag'
  4277 INFO: running Analysis out00-Analysis.toc
  4280 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
    required by c:\users\del\appdata\local\programs\python\python36\python.exe
  4346 WARNING: lib not found: api-ms-win-crt-locale-l1-1-0.dll dependency of c:\users\del\appdata\local\programs\python\python36\python.exe
  5519 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of c:\users\del\appdata\local\programs\python\python36\VCRUNTIME140.dll
  
  5767 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\users\del\appdata\local\programs\python\python36\VCRUNTIME140.dll
  5773 INFO: Caching module hooks...
  5781 INFO: Analyzing E:\Fichier\Programming\Python\CheckNewEpisodes.py
  6041 INFO: Processing pre-safe import module hook   urllib3.packages.six.moves
  Traceback (most recent call last):
    File "&lt;string&gt;", line 2, in &lt;module&gt;
    File "c:\users\del\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\hooks\pre_safe_import_module\hook-urllib3.packages.six.moves.py", line 31, in pre_safe_import_module
      for real_module_name, six_module_name in real_to_six_module_name.items():
  AttributeError: 'str' object has no attribute 'items'
  </code></pre>
  
  <p>I had to truncate the error log, hope this is enough to get an idea about where the problem is.</p>