py2app icon indicating copy to clipboard operation
py2app copied to clipboard

pkg_resources.DistributionNotFound: "google-api-core"

Open pandasa123 opened this issue 5 years ago • 2 comments

My project depends on the following libs:

  • google-api-python-client
  • google-auth-httplib2
  • google-auth-oauthlib

Everything works fine unpackaged but google-api-core seems like a missing hidden import in one of these packages. Any ideas on how to make a quick fix?

pandasa123 avatar Apr 24 '20 23:04 pandasa123

This is probably caused by py2app not supporting package metadata at all, which pkg_resources needs to find information about packages.

ronaldoussoren avatar Jun 25 '20 14:06 ronaldoussoren

I expect that this will be fixed in the upcoming 0.26 release now that I've fixed #1 and package metadata is included in the app bundle.

Could you test by installing from this repository?

If that doesn't fix the issue: Could you create a small reproducer, or point to a public repository that demonstrates the problem?

ronaldoussoren avatar Sep 15 '21 11:09 ronaldoussoren