I have tried using pyinstaller and auto-py-to-exe but could not find the solution. For the former, when i used the --onefile method, it creates an executable which only runs