![]() Run_build(pyi_config, spec_file, **vars(args))įile "agent2\_work\_tool\Python\3.7.7\圆4\lib\site-packages\PyInstaller\_main_.py", line 65, in run_build ![]() "C:\WINDOWS\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "agent2\_work\_temp\44e0b0b7-f2f9-4990-a3ee-31bbec9a0c70.cmd""ģ07 INFO: Building Analysis because Analysis-00.toc is non existentģ07 INFO: Initializing module dependency graph.ġ791 INFO: Processing pre-find module path hook distutilsġ804 INFO: distutils: retargeting to non-venv dir 'agent2\\_work\\_tool\\Python\\3.7.7\\圆4\\python37.zip'Ģ579 INFO: Caching module dependency graph.Ģ629 ERROR: base_library.zip could not be created!įile "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\runpy.py", line 193, in _run_module_as_mainįile "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\runpy.py", line 85, in _run_codeįile "agent2\_work\_tool\Python\3.7.7\圆4\lib\site-packages\PyInstaller\_main_.py", line 121, in įile "agent2\_work\_tool\Python\3.7.7\圆4\lib\site-packages\PyInstaller\_main_.py", line 114, in run Python -m PyInstaller -distpath "?%\exe" SPECFILENAME.spec Download embedded Python from ĭescription : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows.The error occurs regardless of PyInstaller settings or spec file content.Ī minimal example program which shows the error Followed all the instructions in the "If Things Go Wrong" Guide and checked that everything is packaged correctly.Same failure occurs on newest development version of PyInstaller.Thus, PyInstaller tries to do an os.stat() on a path inside a zip folder, which fails. ![]() This failure occurs because the requirements for base_library.zip are located inside a zip. However, building on this agent using PyInstaller fails, see Stacktrace below. I've installed the embedded Python on a local agent that we use in our azure devops pipeline, following the Microsoft docs. pyc files to run Python isolated on a machine. The official Python embeddable zip file distributions for Windows from contain a zip file (pythonXX.zip) that contains the pre-compiled and optimized.
0 Comments
Leave a Reply. |