D:\Python>pyinstaller test.py
61 INFO: PyInstaller: 3.5
61 INFO: Python: 3.8.0
61 INFO: Platform: Windows-10-10.0.18362-SP0
61 INFO: wrote D:\Python\test.spec
62 INFO: UPX is not available.
64 INFO: Extending PYTHONPATH with paths
['D:\\Python', 'D:\\Python']
64 INFO: checking Analysis
83 INFO: checking PYZ
84 INFO: Building PYZ because PYZ-00.toc is non existent
84 INFO: Building PYZ (ZlibArchive) D:\Python\build\test\PYZ-00.pyz
Traceback (most recent call last):
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\Admin-PC\AppData\Local\Programs\Python\Python38\Scripts\pyinstaller.exe\__main__.py", line 9, in <module>
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\__main__.py", line 111, in run
run_build(pyi_config, spec_file, **vars(args))
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\__main__.py", line 63, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\build_main.py", line 844, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\build_main.py", line 791, in build
exec(code, spec_namespace)
File "D:\Python\test.spec", line 18, in <module>
pyz = PYZ(a.pure, a.zipped_data,
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\api.py", line 98, in __init__
self.__postinit__()
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\datastruct.py", line 158, in __postinit__
self.assemble()
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\api.py", line 128, in assemble
self.code_dict = {
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\api.py", line 129, in <dictcomp>
key: strip_paths_in_code(code)
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\utils.py", line 652, in strip_paths_in_code
consts = tuple(
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\utils.py", line 653, in <genexpr>
strip_paths_in_code(const_co, new_filename)
File "c:\users\admin-pc\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\utils.py", line 660, in strip_paths_in_code
return code_func(co.co_argcount, co.co_kwonlyargcount, co.co_nlocals, co.co_stacksize,
TypeError: an integer is required (got type bytes)
При этом папка Dist в которой должен лежать полученный exe-шник остается пустым
Прошу помощи, кто знает?