DistributionNotFound error potentially caused by pkg_resources #482
Labels
api: bigquerystorage
Issues related to the googleapis/python-bigquery-storage API.
type: cleanup
An internal cleanup or hygiene concern.
Hi,
I posted a similar issue in the bigquery project (googleapis/python-bigquery#1307) but decided I should also post it here since this is the package causing issues.
When using this package on my local machine I have no issues, however when deploying to our serverless environment in an AWS lambda we get the error seen at the bottom of this issue.
We have tried numerous changes, such as using the same version of pip being used locally, and disabling slim in the serverless python requirements, but the issue is still happening. Locally we use poetry to install packages.
When looking at the error message, the issue seems to be around pkg_resources, and from looking at other google packages I can see similar issues have been encountered and resolved around this. Is it possible to do something similar here? We are currently blocked from using this package until this issue is resolved.
Related issues from other projects:
googleapis/python-api-core#27
https://github.com/googleapis/google-api-python-client/pull/1623/files
Environment details
3.7.10
22.0.4
google-cloud-bigquery-storage
version:2.14.1
Steps to reproduce
Stack trace
The text was updated successfully, but these errors were encountered: