
This tool allows you to select options and give data to be fed into PyInstaller, that means that a lot of the errors that occur will be raised by PyInstaller, meaning I can't go and change how it works. I cannot guarantee this post or any advice I give will fix all your issues with auto-py-to-exe and PyInstaller. Please do not feel offended if I have referred you to this page, it's just the case that many other people have asked the same question you are asking and you haven't been able to find the answers I or others have provided. In this post, I aim to replace that post and explain more in greater depth. Running this when packaged using one fileĪ while ago I wrote an article on common issues when using auto-py-to-exe.Running this when packaged using one directory.Demonstration of Files References After Packaging.The Difference Between One Directory and One File.Additional Information and Explanations.The exe Runs But Does Some Unexpected Things.LoadLibraryEx / The file cannot be accessed by the system."VCRUNTIME140.dll" is either not designed to run on Windows or it contains an error.My Antivirus Detected the exe as a Virus.Can I Create an Executable on One Operating System and Run it on Another?.The exe Doesn't Work on Another Computer.'python'/'pip'/'auto-py-to-exe' is not recognised as an internal or external command, operable program or batch file.The Terminal Just Opens and Closes But There Are No Errors.struct.error: unpack requires a buffer of 16 bytes.Command "python setup.py egg_info" failed with error code 1.ModuleNotFoundError: No module named x / ImportError: No module named x.

