I have a Python.exe file that I created using Pyinstaller. It runs fine when I execute it on my own PC, but if I move it to another PC on the network, it gives the error pop up message "Fatal error detected, Failed to execute script __".
I am needing to run this Python exe on any computer on the network even if they don't have Python installed.
I used the code below and it packages everything into one single .exe file in the dist folder.
pyinstaller -F -w script.py
I am needing to run this Python.exe on any computer on the network even if they don't have Python installed. Is this possible?
pyinstaller. But it is clear that you are not bundling everything that your application needs into the .exe. Look at pyinstaller.readthedocs.io/en/stable/when-things-go-wrong.html to discover what the problem might be. This may be a longer process than you might like.