I can't build a flet application using nuitka #1856
Unanswered
NamerPolice
asked this question in
Q&A
Replies: 2 comments
-
need change window flet icon with nuitka |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
run this python -m nuitka --onefile --disable-console --windows-icon-from-exe=icon.ico .\test.py
i get error
Nuitka-Scons:INFO: Compiled 622 C files using ccache.
Nuitka-Scons:INFO: Cached C files (using ccache) with result 'cache hit': 621
Nuitka-Scons:INFO: Cached C files (using ccache) with result 'cache miss': 1
Nuitka-Reports:INFO: Compilation report written to file 'nuitka-crash-report.xml'.
Traceback (most recent call last):
File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\nuitka_main_.py", line 155, in
main()
File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\nuitka_main_.py", line 141, in main
MainControl.main()
File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\nuitka\MainControl.py", line 1093, in main
_main()
File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\nuitka\MainControl.py", line 984, in _main
File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\nuitka\PostProcessing.py", line 317, in executePostProcessing
executePostProcessingResources(manifest=manifest, onefile=False)
File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\nuitka\PostProcessing.py", line 260, in executePostProcessingResources
res_copied = copyResourcesFromFileToFile(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\nuitka\utils\WindowsResources.py", line 243, in copyResourcesFromFileToFile
res_data = getResourcesFromDLL(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\nuitka\utils\WindowsResources.py", line 105, in getResourcesFromDLL
raise ctypes.WinError()
OSError: [WinError 193] %1 is not a valid Win32 application.
Nuitka-Reports:INFO: Compilation crash report written to file 'nuitka-crash-report.xml'. Please include it in your bug report.
if run python -m nuitka --onefile --disable-console .\test.py NO PROBLEM! pls help
Beta Was this translation helpful? Give feedback.
All reactions