Answer the question
In order to leave comments, you need to log in
The command in the exe file does not work?
I have a python script that runs a command in the console. Everything works fine in the IDE, but after compiling it to an exe with pyinstaller (pyinstaller -F -i "C:\xampp\htdocs\organaizer\1.ico" websockets.py) the command doesn't run.
VCRUNTIME140.dll' 14.12 is not compatible with this PHP build linked with 14.29 in Unknown on line 0 pops up. I notice that for a second the window appears and immediately disappears. I am using Python 3.7.
An example of a command that does not run in exe
import subprocess
import os
os.system('php artisan websockets:serve')
Answer the question
In order to leave comments, you need to log in
If there is a command in Windows, for example, copy, cls, then it should work.
You have a PHP command so the user must install PHP
VCRUNTIME140.dll' 14.12 is not compatible with this PHP build linked with 14.29
Means that pyinstaller
and os.system
use an incompatible VCRUNTIME140.dll
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question