DistributionNotFound error potentially caused by pkg_resources #1307
Labels
api: bigquery
Issues related to the googleapis/python-bigquery API.
status: will not fix
Invalid (untrue/unsound/erroneous), inconsistent with product, not on roadmap.
Hi,
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
version:3.3.0
Steps to reproduce
Stack trace
The text was updated successfully, but these errors were encountered: