pyinstaller

Pyinstaller issue with subprocess.check_output

落爺英雄遲暮 提交于 2021-02-11 08:11:13
问题 When I have subprocess.check_output function in mycode and I generate an .exe file using pyinstaller with python pyinstaller.py --noconsole -F myprogram.py process stop to work, otherwise every thing is ok! Do you know any solution with pyinstaller or replace subprocess library with some thing else? 来源: https://stackoverflow.com/questions/18613642/pyinstaller-issue-with-subprocess-check-output

How to specify Python version and library versions for PyInstaller executable

旧巷老猫 提交于 2021-02-11 08:08:19
问题 When creating an executable file using PyInstaller, how can I bundle a specific Python interpreter and some library from specific versions? I want to create an executable file from my .py script. My __main__.py downloads some data from a website and transform them, then saves them in a folder as excel files. And here are requirements. Use Python 3.6 For this, I found some related posts but never clear to me. My main .py needs Python3.6 to be executed, and the users of this .exe file won't

Pyinstaller issue with subprocess.check_output

﹥>﹥吖頭↗ 提交于 2021-02-11 08:06:54
问题 When I have subprocess.check_output function in mycode and I generate an .exe file using pyinstaller with python pyinstaller.py --noconsole -F myprogram.py process stop to work, otherwise every thing is ok! Do you know any solution with pyinstaller or replace subprocess library with some thing else? 来源: https://stackoverflow.com/questions/18613642/pyinstaller-issue-with-subprocess-check-output

How to specify Python version and library versions for PyInstaller executable

不问归期 提交于 2021-02-11 08:04:35
问题 When creating an executable file using PyInstaller, how can I bundle a specific Python interpreter and some library from specific versions? I want to create an executable file from my .py script. My __main__.py downloads some data from a website and transform them, then saves them in a folder as excel files. And here are requirements. Use Python 3.6 For this, I found some related posts but never clear to me. My main .py needs Python3.6 to be executed, and the users of this .exe file won't

Pyinstaller failed to execute script on Windows

流过昼夜 提交于 2021-02-11 05:30:18
问题 exe file not opening in windows 10. I saw this comment below on stacks and tried it 'Try to open command prompt and drag exe into it and press enter, that way you will catch the error (if there is any) and then update your question, more info == more help.' This was what i got Traceback (most recent call last): File "balls.py", line 12, in pygame.error: Couldn't open screenshotlogo2.png [9536] Failed to execute script balls 来源: https://stackoverflow.com/questions/61482903/pyinstaller-failed

Pyinstaller failed to execute script on Windows

本小妞迷上赌 提交于 2021-02-11 05:29:20
问题 exe file not opening in windows 10. I saw this comment below on stacks and tried it 'Try to open command prompt and drag exe into it and press enter, that way you will catch the error (if there is any) and then update your question, more info == more help.' This was what i got Traceback (most recent call last): File "balls.py", line 12, in pygame.error: Couldn't open screenshotlogo2.png [9536] Failed to execute script balls 来源: https://stackoverflow.com/questions/61482903/pyinstaller-failed

PyInstaller and QML Files

点点圈 提交于 2021-02-10 16:50:14
问题 How can I include the QML file into my Python project as a single executable. When I run pyinstaller --onefile main.py , running the executable results in an error that the QML file is not found. Unless I use an absolute path or place view.qml in the same directory as my executable. I don't want to have a separate QML file, I want it combined into the executable. main.py: if __name__ == "__main__": app = QGuiApplication(sys.argv) engine = QQmlApplicationEngine() engine.load(QUrl("view.qml"))

PyInstaller Can't create base_library.zip

邮差的信 提交于 2021-02-10 14:50:21
问题 I'm Newbie in python I usually use PyInstaller for convert file .py to .exe and it was work nomally this time i want to convert my .py file like before but it's have error 14037 ERROR: base_library.zip could not be created! ......................................................... C:\Program Files\Python38>pyinstaller "HPFSERVER_with _mysql .py" 138 INFO: PyInstaller: 3.6 139 INFO: Python: 3.8.2 139 INFO: Platform: Windows-10-10.0.18362-SP0 142 INFO: wrote C:\Program Files\Python38\HPFSERVER

hide console with executing python script

你离开我真会死。 提交于 2021-02-10 06:48:34
问题 I am trying to compile my python script built in python 3 using pyqt5 module on windows 10 using pyinstaller which hides the windows while running. To compile my script I executed following command: pyinstaller --onefile --icon=app.ico --clean --noconsole app.py But the executable I got didn't worked so again I compiled my script by following command: pyinstaller --onefile -w --icon=app.ico app.py Still the output executable is not working if --console/-w/--windowed argument is used. How can

hide console with executing python script

╄→гoц情女王★ 提交于 2021-02-10 06:48:11
问题 I am trying to compile my python script built in python 3 using pyqt5 module on windows 10 using pyinstaller which hides the windows while running. To compile my script I executed following command: pyinstaller --onefile --icon=app.ico --clean --noconsole app.py But the executable I got didn't worked so again I compiled my script by following command: pyinstaller --onefile -w --icon=app.ico app.py Still the output executable is not working if --console/-w/--windowed argument is used. How can