1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
| C:\Users\nadch\Scripts\Contact>pyinstaller Contact.py
65 INFO: PyInstaller: 4.3
65 INFO: Python: 3.9.2
65 INFO: Platform: Windows-10-10.0.18362-SP0
92 INFO: wrote C:\Users\nadch\Scripts\Contact\Contact.spec
95 INFO: UPX is not available.
96 INFO: Extending PYTHONPATH with paths
['C:\\Users\\nadch\\Scripts\\Contact', 'C:\\Users\\nadch\\Scripts\\Contact']
106 INFO: checking Analysis
130 INFO: checking PYZ
147 INFO: checking PKG
148 INFO: Building because C:\Users\nadch\Scripts\Contact\build\Contact\Contact.exe.manifest changed
148 INFO: Building PKG (CArchive) PKG-00.pkg
164 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
165 INFO: Bootloader c:\users\nadch\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\bootloader\Windows-64bit\run.exe
165 INFO: checking EXE
166 INFO: Building EXE because EXE-00.toc is non existent
166 INFO: Building EXE from EXE-00.toc
167 INFO: Copying icons from ['c:\\users\\nadch\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\bootloader\\images\\icon-console.ico']
195 INFO: Writing RT_GROUP_ICON 0 resource with 104 bytes
196 INFO: Writing RT_ICON 1 resource with 3752 bytes
196 INFO: Writing RT_ICON 2 resource with 2216 bytes
196 INFO: Writing RT_ICON 3 resource with 1384 bytes
196 INFO: Writing RT_ICON 4 resource with 37019 bytes
197 INFO: Writing RT_ICON 5 resource with 9640 bytes
197 INFO: Writing RT_ICON 6 resource with 4264 bytes
198 INFO: Writing RT_ICON 7 resource with 1128 bytes
202 INFO: Appending archive to EXE C:\Users\nadch\Scripts\Contact\build\Contact\Contact.exe
Traceback (most recent call last):
File "c:\users\nadch\appdata\local\programs\python\python39\lib\site-packages\pefile.py", line 1802, in __parse__
fd = open(fname, 'rb')
OSError: [Errno 22] Invalid argument: 'C:\\Users\\nadch\\Scripts\\Contact\\build\\Contact\\Contact.exe'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\nadch\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\nadch\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\nadch\AppData\Local\Programs\Python\Python39\Scripts\pyinstaller.exe\__main__.py", line 7, in <module>
File "c:\users\nadch\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\__main__.py", line 114, in run
run_build(pyi_config, spec_file, **vars(args))
File "c:\users\nadch\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\__main__.py", line 65, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "c:\users\nadch\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\building\build_main.py", line 737, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "c:\users\nadch\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\building\build_main.py", line 684, in build
exec(code, spec_namespace)
File "C:\Users\nadch\Scripts\Contact\Contact.spec", line 21, in <module>
exe = EXE(pyz,
File "c:\users\nadch\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\building\api.py", line 450, in __init__
self.__postinit__()
File "c:\users\nadch\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\building\datastruct.py", line 160, in __postinit__
self.assemble()
File "c:\users\nadch\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\building\api.py", line 645, in assemble
set_exe_checksum(self.name)
File "c:\users\nadch\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\utils\win32\winutils.py", line 168, in set_exe_checksum
pe = pefile.PE(exe_path)
File "c:\users\nadch\appdata\local\programs\python\python39\lib\site-packages\pefile.py", line 1754, in __init__
self.__parse__(name, data, fast_load)
File "c:\users\nadch\appdata\local\programs\python\python39\lib\site-packages\pefile.py", line 1814, in __parse__
raise Exception('Unable to access file \'{0}\'{1}'.format(fname, exception_msg))
Exception: Unable to access file 'C:\Users\nadch\Scripts\Contact\build\Contact\Contact.exe': [Errno 22] Invalid argument: 'C:\\Users\\nadch\\Scripts\\Contact\\build\\Contact\\Contact.exe' |
Partager