当尝试运行PyInstaller时,我得到了“致命错误”消息

2024-10-03 23:27:22 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图将python脚本转换为Windows可执行文件,但在尝试此过程时,出现以下错误。你知道吗

Microsoft Windows [Version 10.0.17134.523]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\admin>cd C:\Users\admin\Documents\Coding

C:\Users\admin\Documents\Coding>pyinstaller testDirInteractivity.py --onefile
Fatal error in launcher: Unable to create process using '"c:\users\admin\appdata\local\programs\python\python37-32\python.exe"  "C:\Users\admin\AppData\Local\Programs\Python\Python37-32\Scripts\pyinstaller.exe" testDirInteractivity.py --onefile'

C:\Users\admin\Documents\Coding>

我已经重新安装了PyInstaller好几次了。我不知道是什么导致了这个问题。到目前为止,我从网上找到的其他答案中尝试的任何东西都不适合我。任何帮助都将不胜感激。你知道吗


Tags: py脚本可执行文件admin过程windows错误exe