简体   繁体   English

如何使用 pyInstaller 将 python 脚本转换为可执行文件

[英]how to convert python script to executable with pyInstaller

I am trying to make the.exe for this code but i am unable to do that.我正在尝试为此代码制作.exe,但我无法做到这一点。 I am using PyInstaller to make the.exe it make the.exe file but the file prompts an error Invalid file descriptor to ICU data received.我正在使用 PyInstaller 制作.exe 它制作.exe 文件,但文件提示错误 Invalid file descriptor to ICU data received。

This is how my code looks like这就是我的代码的样子

import webview

def connect(url):
    window = webview.create_window('My Page', url)
    webview.start(process_check,window,gui='cef')

if internet_on() is 'True':
    connect_zoom('Link to website')
else:
    window = webview.create_window('KNS Institute Online', html='<h1>This is initial HTML</h1>')
    webview.start(gui = 'cef') 

python -m eel app.py templete --onefile --noconsole --icon=1.ico python -m eel app.py 模板 --onefile --noconsole --icon=1.ico

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Pyinstaller将运行bash脚本的python脚本转换为可执行文件 - Convert python script which runs a bash script to executable file with Pyinstaller 如何使用 PyInstaller 将 python 脚本转换为二进制可执行文件 - How to convert python scripts to binary executable using PyInstaller 如何允许 python 脚本复制使用 pyinstaller 创建的可执行文件? - How to allow python script to replicate the executable file created with pyinstaller? Python脚本可执行文件与py2exe或pyinstaller - Python script executable with py2exe or pyinstaller 无法使用Pyinstaller将Python脚本转换为可执行文件:找不到dist文件夹和PyQt5 - Cannot convert Python script into an executable using Pyinstaller: Empty dist folder & PyQt5 not found 如何在没有pyinstaller的情况下使用“ ./”创建python可执行文件 - How to create a python executable with “./” without pyinstaller 如何使在 pypy 中运行的 python 脚本也可以通过 pyinstaller 执行? - How to make python script run in pypy also being executable via pyinstaller? 将python脚本转换为二进制可执行文件 - Convert python script to binary executable 将脚本转换为可执行文件,python不在注册表中 - Convert script to executable, python not in registry Python 可通过 pyinstaller 和 Pmw 执行 - Python executable with pyinstaller and Pmw
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM