Home > other >  For help, use pyinstaller packaged exe error
For help, use pyinstaller packaged exe error

Time:09-18

Error:
56 the INFO: PyInstaller: 3.6
56 the INFO: Python: 3.8.2
INFO: 57 Platform: Windows - 10-10.0.18362 - SP0
58 INFO: demonstrate F: \ Work \ 00 spec
INFO: 60 UPX is not available.
61 INFO: Extending the PYTHONPATH with paths
F: \ \ [' Work ', 'F: \ \ Work']
61 INFO: checking Analysis
INFO: 61 Building Analysis because Analysis - 00. Toc is non existent
INFO: 61 the Initializing module dependency graph...
64 INFO: Caching module graph hooks...
70 INFO: Analyzing base_library.zip...
2029 INFO: Processing the pre - find the module path hook distutils
2030 INFO: distutils: retargeting to non - venv dir 'C: \ \ Program Files \ \ WindowsApps \ \ PythonSoftwareFoundation Python. 3.8 _3. 8.752.0 _x64__qbz5n2kfra8p0 \ \ lib'
3677 INFO: Caching module dependency graph...
INFO: 3794 running Analysis Analysis - 00. Toc
Traceback (the most recent call last) :
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ win32ctypes \ pywin32 \ pywintypes py", line 35, in pywin32error
Yield
File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ win32ctypes \ pywin32 \ win32api py", 43, line in LoadLibraryEx
Return _dll. _LoadLibraryEx (fileName, 0, flags)
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ win32ctypes \ core \ ctypes \ _util py", line 42, in check_null
Raise make_error (function, function_name)
OSError: [1920] WinError system cannot access the file,

During handling of the above exception, another exception occurred:

Traceback (the most recent call last) :
The File "C: \ Program Files \ WindowsApps \ PythonSoftwareFoundation Python. 3.8 _3. 8.752.0 _x64__qbz5n2kfra8p0 \ lib \ runpy py", line 193, in _run_module_as_main
Return _run_code (code, main_globals, None,
The File "C: \ Program Files \ WindowsApps \ PythonSoftwareFoundation Python. 3.8 _3. 8.752.0 _x64__qbz5n2kfra8p0 \ lib \ runpy py", line 86, in _run_code
The exec (code, run_globals)
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ Scripts \ pyinstaller exe \ __main__ py", line 9, the in & lt; module>
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ PyInstaller \ __main__ py", line 114, in the run
Run_build (pyi_config spec_file, * * vars (args))
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ PyInstaller \ __main__ py", line 65, in run_build
PyInstaller. Building. Build_main. Main (pyi_config spec_file, * * kwargs)
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ PyInstaller \ building \ build_main py", line 734, the main in
Build (specfile, kw. Get (' distpath), kw. Get (' workpath), kw. Get (' clean_build))
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ PyInstaller \ building \ build_main py", line 681, in the build
The exec (code, spec_namespace)
The File "F: \ Work \ 00 spec", line 6, the in & lt; module>
A=Analysis ([' 00. Py],
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ PyInstaller \ building \ build_main py", line 244, in __init__
Self. __postinit__ ()
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ PyInstaller \ building \ datastruct py", line 160, in __postinit__
The self assemble ()
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ PyInstaller \ building \ build_main py", line 393, assemble in
The self. The binaries. The extend (bindepend. Dependencies ([(' ', python, ' ')],
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ PyInstaller \ depend \ bindepend py", line 228, Dependencies in
For ftocnm, fn in getAssemblyFiles (PTH, manifest, and redirects) :
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ PyInstaller \ depend \ bindepend py", line 404, in getAssemblyFiles
For the assembly in getAssemblies (PTH) :
The File "C: \ Users \ \ AppData \ Local \ 27158 Packages \ PythonSoftwareFoundation Python. 3.8 _qbz5n2kfra8p0 \ LocalCache \ Local - Packages \ Python38 \ site - Packages \ PyInstaller \ depend \ bindepend py", line 355, in getAssemblies
Res=GetManifestResources (PTH)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related