I want to transform a Python script to an .exe to share it with friends. I've tried with 
But I still get the same error.
CodePudding user response:
I have experienced this before where I export .py into .exe with --onedir setup. Here are the solutions that I might suggest (and works for me)
1. Export as --onefile

