Решил закомпилить Python код в C.
Все было круто, но после написания более объемного кода, файл main.exe не запускается, если рядом нету main.build + он создает папку __pycache__.
Подозреваю, что он пытается подключить какие-то библиотеки, проблема в том, что он должен работать без всего этого, там должен быть main.exe + python39.dll и все для счастья.
Как я понял, ему не хватает какой-то библиотеки и он или local грузит все, вот код при компиляции:
C:\Users\Paffos\Desktop\code>python -m nuitka --mingw64 --windows-disable-console main.py
Nuitka:WARNING: The version '3.9' is not currently supported. Expect problems.
Nuitka:INFO: Starting Python compilation.
Nuitka:WARNING:Not recursing to 'ip2geotools.databases.noncommercial' (C:\Users\Paffos\AppData\Local\Programs\Python\Python39\lib\site-packages\ip2geotools\databases\noncommercial.py), please specify --nofollow-imports (do not warn), --follow-imports (recurse to all), --nofollow-import-to=ip2geotools.databases.noncommercial (ignore it), --follow-import-to=ip2geotools.databases.noncommercial (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'telebot' (C:\Users\Paffos\AppData\Local\Programs\Python\Python39\lib\site-packages\telebot), please specify --nofollow-imports (do not warn), --follow-imports (recurse to all), --nofollow-import-to=telebot (ignore it), --follow-import-to=telebot (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'PIL' (C:\Users\Paffos\AppData\Local\Programs\Python\Python39\lib\site-packages\PIL), please specify --nofollow-imports (do not warn), --follow-imports (recurse to all), --nofollow-import-to=PIL (ignore it), --follow-import-to=PIL (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'astropy' (C:\Users\Paffos\AppData\Local\Programs\Python\Python39\lib\site-packages\astropy), please specify --nofollow-imports (do not warn), --follow-imports (recurse to all), --nofollow-import-to=astropy (ignore it), --follow-import-to=astropy (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'get_files_from_desktop' (C:\Users\Paffos\Desktop\code\get_files_from_desktop.py), please specify --nofollow-imports (do not warn), --follow-imports (recurse to all), --nofollow-import-to=get_files_from_desktop (ignore it), --follow-import-to=get_files_from_desktop (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'create_file_read_me' (C:\Users\Paffos\Desktop\code\create_file_read_me.py), please specify --nofollow-imports (do not warn), --follow-imports (recurse to all), --nofollow-import-to=create_file_read_me (ignore it), --follow-import-to=create_file_read_me (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'get_information_about_user' (C:\Users\Paffos\Desktop\code\get_information_about_user.py), please specify --nofollow-imports (do not warn), --follow-imports (recurse to all), --nofollow-import-to=get_information_about_user (ignore it), --follow-import-to=get_information_about_user (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'cfg' (C:\Users\Paffos\Desktop\code\cfg.py), please specify --nofollow-imports (do not warn), --follow-imports (recurse to all), --nofollow-import-to=cfg (ignore it), --follow-import-to=cfg (recurse to it) to change.
Nuitka:WARNING:Not recursing to 're_chrome_passwords' (C:\Users\Paffos\Desktop\code\re_chrome_passwords.py), please specify --nofollow-imports (do not warn), --follow-imports (recurse to all), --nofollow-import-to=re_chrome_passwords (ignore it), --follow-import-to=re_chrome_passwords (recurse to it) to change.
Nuitka:WARNING:Not recursing to 're_telegram' (C:\Users\Paffos\Desktop\code\re_telegram.py), please specify --nofollow-imports (do not warn), --follow-imports (recurse to all), --nofollow-import-to=re_telegram (ignore it), --follow-import-to=re_telegram (recurse to it) to change.
Nuitka:WARNING:Not recursing to 're_cookies' (C:\Users\Paffos\Desktop\code\re_cookies.py), please specify --nofollow-imports (do not warn), --follow-imports (recurse to all), --nofollow-import-to=re_cookies (ignore it), --follow-import-to=re_cookies (recurse to it) to change.
Nuitka:INFO: Completed Python level compilation and optimization.
Nuitka:INFO: Generating C source code for backend compiler.
Nuitka:INFO: Running data composer tool for optimal constant value handling.
Nuitka:INFO: Running C level backend compilation via Scons.
Nuitka-Scons:INFO: Backend C compiler: C:\Users\Paffos\AppData\Local\Nuitka\Nuitka\gcc\x86_64\10.2.0-11.0.0-8.0.0-r5\mingw64\bin\gcc.exe (gcc.exe).
Nuitka-Scons:INFO: Compiled 11 C files using ccache.
Nuitka-Scons:INFO: Cached C files (using ccache) with result 'cache hit (direct)': 10
Nuitka-Scons:INFO: Cached C files (using ccache) with result 'cache miss': 1
Nuitka:INFO: Successfully created 'main.exe'.
C:\Users\Paffos\Desktop\code>
Если я прав и там надо доподключить библиотеки, то подскажите как это сделать.