py2exe gives RuntimeError: Too early to create image py2exe gives RuntimeError: Too early to create image tkinter tkinter

py2exe gives RuntimeError: Too early to create image


When all else fails, rebuild everything...

  1. Uninstall 32bit python27.12
  2. install 32bit python27.10 // 12 will probably work too
  3. pip install pip
  4. pip install Pillow
  5. install MSVC9
  6. pip install py2exe
  7. remove all prior distribution builds from older py2exe
  8. regenerate executable

It works!