I have a python program which I've successfully packaged up as a single exe using pyinstaller in the past. Recently I added new features which make use of the google api python client ( https://developers.google.com/api-client-library/python/ ). I've attempted to make a new single exe package of the new version and it fails to run.
I enable debugging and the console and initially the issue was that it hadn't picked up the oauth lib. I fixed that by adding the following to my spec file: hiddenimports=['googleapiclient', 'apiclient'] When I build I can see this: 53092 INFO: Hidden import 'googleapiclient' has been found otherwise 53093 INFO: Hidden import 'apiclient' has been found otherwise However, now when I run the rebuilt exe I get the following error before it exits: pkg_resources.DistributionNotFound: google-api-python-client I can't see any reference to that and I'm not sure how to force it to be packaged up with the exe. I figure I can't be the only person to have ever wanted to package up a python program that makes use of the google api, but I failed to find any help during a lot of time with my friend google... Any tips? -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/d/optout.
