无法使用pyinstaller

问题描述

我正在运行Windows,并尝试使用pyinstaller模块。当我在cmd中运行pyinstaller filename.py时,会发生以下错误

Fatal error: PyInstaller does not include a pre-compiled bootloader for your
platform. For more details and instructions how to build the bootloader see
<https://pyinstaller.readthedocs.io/en/stable/bootloader-building.html>

因此,我尝试使用提供的链接构建引导加载程序。有一个步骤说要运行命令python ./waf all。当我运行它时,出现以下错误

python: can't open file './waf': [Errno 2] No such file or directory

我尝试安装waftools模块以查看是否可以解决此问题。它要求我运行以下两个命令:

pip install -I waftools
wafinstall

当我运行第一个命令时,它运行良好,但是当我运行第二个命令时,我得到了很长的回溯(发现here),并以以下错误结束:

FileNotFoundError: [Errno 2] No such file or directory: '.\\waf-waf-1.8.19\\waf'

这就是我遇到的问题,我什至不知道如果我能正确运行它是否可以解决我原来的问题。我该怎么办?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)