我尝试使用pyinstaller将python脚本转换为可执行文件,因此我运行以下命令:pyinstaller --onefile app.py,似乎成功创建了可执行文件,但当我尝试运行可执行文件时,出现错误:ModuleNotFoundError: No module named 'PyPDF2'。我读到pyinstaller看不到二级导入,所以我运行了以下命令:pyinstaller --hi
我试着安装Auto,但是它们在安装过程中出现了很多错误,但是在安装结束时,它会成功安装,见下图。我已经卸载自动Py,piwin,PYpiwin32,pywin32,PyInstaller.关闭所有系统并重新启动,重新安装所有这些模块,但似乎没有任何工作。当我使用Python3.6或3.7时,这也是相同的错误。同样的错误出现在PyCharm终端和promt(cmd)窗口终端中。AttributeError: module 'eel.chrome' has no attr
我正在尝试使用PyInstaller将我的脚本转换为.exe文件...我的脚本使用的是docx模块,这会导致尝试创建可执行文件时出现一些问题。我尝试将docx.py添加到与我的脚本相同的目录中,然后使用PyInstaller,但仍然不起作用:ImportError: cannot import name 'Document' from 'docx(导致此错误的行是from docx import Document)。
我使用py2exe来创建Python脚本的可执行文件,但是当我运行可执行文件时,它给出了matplotlib data file missing错误。我能为这东西做些什么?此外,我还尝试使用pyInstaller,但在完成所有操作后,出现了一个运行时错误,显示application failed to start side by side configuration pyinstaller我在我的Python脚本中导入了这些文件:
i