same as with "how do I make my code faster" really: There's no "one-size-fits-all" answer, you'll need to measure (i.e. find what the biggest files in your bundle are, in this case), and then find out if you can e.g. avoid using those modules, or if there is something PyInstaller outputs which isn't actually needed (it shouldn't be)