I have a python script running a command in the console. Everything works fine in the IDE, but after compiling it into an exe using pyinstaller (pyinstaller -F -i "C:\xampp\htdocs\organaizer\1.ico " websockets.py ) the command does not run. Error up VCRUNTIME140.dll' 14.12 is not compatible with this PHP build linked with 14.29 in Unknown on line 0. I notice that the window appears for a second and immediately disappears. I use Python 3.7. An example of a command that does not run in exe
import subprocess
import os
os.system('php artisan websockets:serve')
Tell me what the problem may be.
import subprocess
subprocess.call(['php', 'artisan', 'websockets:serve'])
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.