Running auto-py-to-exe v2.44.1
Building directory: C:\Users\GTA\AppData\Local\Temp\tmpeke67llt
Provided command: pyinstaller --noconfirm --onedir --console --icon "C:\Users\GTA\Desktop\s\TestImgui\go_img.ico" --add-data "C:\Users\GTA\Desktop\s\TestImgui\res;res/" --add-data "C:\Users\GTA\Desktop\s\TestImgui\cfg.txt;." --add-data "C:\Users\GTA\Desktop\s\TestImgui\screenshot.png;." --add-data "C:\Users\GTA\Desktop\NEWENV\Lib\site-packages\customtkinter;customtkinter/" "C:\Users\GTA\Desktop\s\TestImgui\operaGX.py"
Recursion Limit is set to 5000
Executing: pyinstaller --noconfirm --onedir --console --icon C:\Users\GTA\Desktop\s\TestImgui\go_img.ico --add-data C:\Users\GTA\Desktop\s\TestImgui\res;res/ --add-data C:\Users\GTA\Desktop\s\TestImgui\cfg.txt;. --add-data C:\Users\GTA\Desktop\s\TestImgui\screenshot.png;. --add-data C:\Users\GTA\Desktop\NEWENV\Lib\site-packages\customtkinter;customtkinter/ C:\Users\GTA\Desktop\s\TestImgui\operaGX.py --distpath C:\Users\GTA\AppData\Local\Temp\tmpeke67llt\application --workpath C:\Users\GTA\AppData\Local\Temp\tmpeke67llt\build --specpath C:\Users\GTA\AppData\Local\Temp\tmpeke67llt
11692755 INFO: PyInstaller: 6.9.0
11692771 INFO: Python: 3.8.10
11692789 INFO: Platform: Windows-7-6.1.7601-SP1
11692799 INFO: wrote C:\Users\GTA\AppData\Local\Temp\tmpeke67llt\operaGX.spec
11692810 INFO: UPX is not available.
11692820 INFO: Extending PYTHONPATH with paths
['C:\\Users\\GTA\\Desktop\\s\\TestImgui']
11695877 INFO: Appending 'datas' from .spec
11695946 INFO: checking Analysis
11695951 INFO: Building Analysis because Analysis-01.toc is non existent
11695958 INFO: Reusing cached module dependency graph...
11696064 INFO: Caching module graph hooks...
11696530 INFO: running Analysis Analysis-01.toc
11696540 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
required by C:\Users\GTA\AppData\Local\Programs\Python\Python38\python.exe
11697007 INFO: Analyzing C:\Users\GTA\Desktop\s\TestImgui\operaGX.py
11697133 INFO: Loading module hook 'hook-customtkinter.py' from 'C:\\Users\\GTA\\Desktop\\NEWENV\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
11697906 INFO: Processing pre-safe import module hook distutils from 'C:\\Users\\GTA\\Desktop\\NEWENV\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-distutils.py'.
An error occurred while packaging
Traceback (most recent call last):
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\auto_py_to_exe\packaging.py", line 132, in package
run_pyinstaller(pyinstaller_args[1:])
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\__main__.py", line 180, in run
run_build(pyi_config, spec_file, **vars(args))
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\__main__.py", line 61, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\building\build_main.py", line 1006, in main
build(specfile, distpath, workpath, clean_build)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\building\build_main.py", line 928, in build
exec(code, spec_namespace)
File "C:\Users\GTA\AppData\Local\Temp\tmpeke67llt\operaGX.spec", line 7, in <module>
a = Analysis(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\building\build_main.py", line 428, in __init__
self.__postinit__()
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\building\datastruct.py", line 184, in __postinit__
self.assemble()
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\building\build_main.py", line 581, in assemble
priority_scripts.append(self.graph.add_script(script))
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\depend\analysis.py", line 268, in add_script
self._top_script_node = super().add_script(pathname)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1433, in add_script
self._process_imports(n)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2881, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\depend\analysis.py", line 432, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, target_attr_names, level, edge_attr)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2332, in _safe_import_hook
target_modules = self.import_hook(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1505, in import_hook
target_package, target_module_partname = self._find_head_package(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1684, in _find_head_package
target_package = self._safe_import_module(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\depend\analysis.py", line 479, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_package)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2881, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\depend\analysis.py", line 432, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, target_attr_names, level, edge_attr)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2332, in _safe_import_hook
target_modules = self.import_hook(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1505, in import_hook
target_package, target_module_partname = self._find_head_package(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1684, in _find_head_package
target_package = self._safe_import_module(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\depend\analysis.py", line 479, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_package)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2881, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\depend\analysis.py", line 432, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, target_attr_names, level, edge_attr)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2332, in _safe_import_hook
target_modules = self.import_hook(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1505, in import_hook
target_package, target_module_partname = self._find_head_package(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1684, in _find_head_package
target_package = self._safe_import_module(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\depend\analysis.py", line 479, in _safe_import_module
return super()._safe_import_module(module_basename, module_name, parent_package)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2062, in _safe_import_module
self._process_imports(n)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2881, in _process_imports
target_modules = self._safe_import_hook(*import_info, **kwargs)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\depend\analysis.py", line 432, in _safe_import_hook
return super()._safe_import_hook(target_module_partname, source_module, target_attr_names, level, edge_attr)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2332, in _safe_import_hook
target_modules = self.import_hook(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1505, in import_hook
target_package, target_module_partname = self._find_head_package(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1684, in _find_head_package
target_package = self._safe_import_module(
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\depend\analysis.py", line 469, in _safe_import_module
hook_module.pre_safe_import_module(hook_api)
File "C:\Users\GTA\Desktop\NEWENV\lib\site-packages\PyInstaller\hooks\pre_safe_import_module\hook-distutils.py", line 24, in pre_safe_import_module
if compat.is_py312:
AttributeError: module 'PyInstaller.compat' has no attribute 'is_py312'