[英]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.