title: auto-py-to-exe stuck at Loading module hook 'hook-gevent.py'
body: <p>I am trying to convert the code to exe with auto-py-to-exe. It stuck at &quot;Loading module hook 'hook-gevent.py'...&quot;.</p>
  <pre><code>import time, pyautogui, keyboard, threading
  from tkinter import *
  
  window = Tk()
  window.title('KONG Spammer')
  window.resizable(False, False)
  
  def clickedStart():
      time.sleep(2.5)
      for i in range(int(txt2.get())):
          strDelay = txt3.get()
          floatDelay = float(strDelay)
          time.sleep(floatDelay)
          pyautogui.write(txt.get())
          pyautogui.press('enter')
  
  
  lbl = Label(window, text='Spam message:', font=('segoe script', 18), background='orange', justify=CENTER)
  lbl.grid(column=10, row=0, padx=(35, 10))
  
  txt = Entry(window, width=10)
  txt.grid(column=10, row=1, padx=(35, 10))
  txt.insert(END, 'message')
  
  lbl2 = Label(window, text='Spam amount:', font=('segoe script', 18), background='orange', justify=CENTER)
  lbl2.grid(column=10, row=2, padx=(35, 10))
  
  txt2 = Entry(window, width=10)
  txt2.grid(column=10, row=3, padx=(35, 10))
  txt2.insert(END, 'amount')
  
  lbl3 = Label(window, text='Spam delay:', font=('segoe script', 18), background='orange', justify=CENTER)
  lbl3.grid(column=10, row=4, padx=(35, 10))
  
  txt3 = Entry(window, width=10)
  txt3.grid(column=10, row=5, padx=(35, 10))
  txt3.insert(END, 'delay')
  
  btn = Button(window, text='Start', command=clickedStart, bg='green', fg='white')
  btn.grid(column=10, row=6, padx=(35, 10), pady=(15,10))
  
  window.geometry('275x275')
  window.configure(bg='orange')
  
  icon = PhotoImage(file = 'appIcon.png')
  window.iconphoto(False, icon)
  
  txt.focus()
  window.mainloop()
  </code></pre>
  <p>Here is the log of auto-py-to-exe:</p>
  <pre><code>Running auto-py-to-exe v2.8.0
  Building directory: C:\Users\Floom\AppData\Local\Temp\tmpx8agn6z6
  Provided command: pyinstaller --noconfirm --onedir --windowed --icon &quot;F:/Downloads/KONGSpammer.ico&quot; --add-data &quot;F:/Dokumente/code/appIcon.png;.&quot;  &quot;F:/Dokumente/code/KONGSpammer.py&quot;
  Recursion Limit is set to 5000
  Executing: pyinstaller --noconfirm --onedir --windowed --icon F:/Downloads/KONGSpammer.ico --add-data F:/Dokumente/code/appIcon.png;. F:/Dokumente/code/KONGSpammer.py --distpath C:\Users\Floom\AppData\Local\Temp\tmpx8agn6z6\application --workpath C:\Users\Floom\AppData\Local\Temp\tmpx8agn6z6\build --specpath C:\Users\Floom\AppData\Local\Temp\tmpx8agn6z6
  
  33831 INFO: PyInstaller: 4.3
  33845 INFO: Python: 3.9.4
  33861 INFO: Platform: Windows-10-10.0.19041-SP0
  33876 INFO: wrote C:\Users\Floom\AppData\Local\Temp\tmpx8agn6z6\KONGSpammer.spec
  33893 INFO: UPX is not available.
  33901 INFO: Extending PYTHONPATH with paths
  ['F:\\Dokumente\\code', 'C:\\Users\\Floom\\AppData\\Local\\Temp\\tmpx8agn6z6']
  33914 INFO: checking Analysis
  33922 INFO: Building Analysis because Analysis-00.toc is non existent
  33938 INFO: Initializing module dependency graph...
  33941 INFO: Caching module graph hooks...
  33960 WARNING: Several hooks defined for module 'win32ctypes.core'. Please take care they do not conflict.
  33973 INFO: Analyzing base_library.zip ...
  35566 INFO: Processing pre-find module path hook distutils from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-distutils.py'.
  35583 INFO: distutils: retargeting to non-venv dir 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib'
  37487 INFO: Caching module dependency graph...
  37608 INFO: running Analysis Analysis-00.toc
  37626 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
    required by c:\users\floom\appdata\local\programs\python\python39\python.exe
  37679 WARNING: lib not found: api-ms-win-core-path-l1-1-0.dll dependency of c:\users\floom\appdata\local\programs\python\python39\python39.dll
  37814 INFO: Analyzing F:\Dokumente\code\KONGSpammer.py
  39677 INFO: Processing pre-safe import module hook urllib3.packages.six.moves from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-urllib3.packages.six.moves.py'.
  40780 INFO: Processing pre-find module path hook site from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-site.py'.
  40795 INFO: site: retargeting to fake-dir 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\fake-modules'
  41583 INFO: Processing pre-safe import module hook setuptools.extern.six.moves from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-setuptools.extern.six.moves.py'.
  44164 INFO: Processing module hooks...
  44176 INFO: Loading module hook 'hook-certifi.py' from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
  44181 INFO: Loading module hook 'hook-cv2.py' from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
  44193 INFO: Loading module hook 'hook-eel.py' from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
  44276 INFO: Loading module hook 'hook-pycparser.py' from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
  44285 INFO: Loading module hook 'hook-win32ctypes.core.py' from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
  44428 INFO: Loading module hook 'hook-difflib.py' from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
  44433 INFO: Loading module hook 'hook-distutils.py' from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
  44435 INFO: Loading module hook 'hook-distutils.util.py' from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
  44441 INFO: Loading module hook 'hook-encodings.py' from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
  44515 INFO: Loading module hook 'hook-gevent.py' from 'c:\\users\\floom\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
  </code></pre>
  <p>Is there someone here who had the same problem or knows what to do? ps: Everything should work with the code, because it also works when I start the py file.</p>