Hello my runs ends with this error:
1874 INFO: PyInstaller: 5.13.0
1874 INFO: Python: 3.10.1
1944 INFO: Platform: Windows-10-10.0.18362
1959 INFO: Removing temporary files and cleaning cache in C:\users\root\AppData\Local\pyinstaller
Traceback (most recent call last):
File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Python310\Scripts\pyinstaller.exe__main.py", line 7, in
File "C:\Python310\lib\site-packages\PyInstaller__main.py", line 194, in _console_script_run
run()
File "C:\Python310\lib\site-packages\PyInstaller__main__.py", line 180, in run
run_build(pyi_config, spec_file, **vars(args))
File "C:\Python310\lib\site-packages\PyInstaller\main__.py", line 61, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "C:\Python310\lib\site-packages\PyInstaller\building\build_main.py", line 1019, in main
build(specfile, distpath, workpath, clean_build)
File "C:\Python310\lib\site-packages\PyInstaller\building\build_main.py", line 944, in build
exec(code, spec_namespace)
File "main.spec", line 4, in
a = Analysis(
TypeError: Analysis.init__() got an unexpected keyword argument 'optimize'
Hello my runs ends with this error: 1874 INFO: PyInstaller: 5.13.0 1874 INFO: Python: 3.10.1 1944 INFO: Platform: Windows-10-10.0.18362 1959 INFO: Removing temporary files and cleaning cache in C:\users\root\AppData\Local\pyinstaller Traceback (most recent call last): File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Python310\Scripts\pyinstaller.exe__main.py", line 7, in
File "C:\Python310\lib\site-packages\PyInstaller__main.py", line 194, in _console_script_run
run()
File "C:\Python310\lib\site-packages\PyInstaller__main__.py", line 180, in run
run_build(pyi_config, spec_file, **vars(args))
File "C:\Python310\lib\site-packages\PyInstaller\main__.py", line 61, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "C:\Python310\lib\site-packages\PyInstaller\building\build_main.py", line 1019, in main
build(specfile, distpath, workpath, clean_build)
File "C:\Python310\lib\site-packages\PyInstaller\building\build_main.py", line 944, in build
exec(code, spec_namespace)
File "main.spec", line 4, in
a = Analysis(
TypeError: Analysis. init__() got an unexpected keyword argument 'optimize'