question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

google-api-core distribution not found

See original GitHub issue

Hi,

I have installed the library using

pip install --upgrade google-api-python-client

Into my virtual env. Everything is working just fine. Although when I push to production and have my build server install packages from the requirements.txt file, I get the error.

The 'google-api-core' distribution was not found and is required by the application

Although, I can see that the package has been installed (or so the build logs say).

Production Env: Using Seed + Serverless

Any help would be great!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
soumak77commented, Mar 30, 2018

I was having the same issue. After upgrading pip via pip install --upgrade pip, the error went away.

1reaction
busunkim96commented, Oct 24, 2019

@tomonodes I think the responder on the original issue recommend you file the issue in https://github.com/serverless/serverless-google-cloudfunctions.

Looks like this issue is related to the Google Cloud Functions provider plugin. Could you re-open in that repository since serverless/serverless only covers the core and the AWS implementation. Thanks!

When you file issues on this repo in the future, please open a new issue rather than posting on a closed issue. Maintainers are more likely to miss posts to closed issues. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

The 'google-api-python-client' distribution was not found and ...
I am currently trying to build an app with pyinstaller. I have gotten the error The 'google-api-python-client' distribution was not found and is ......
Read more >
google-api-core - PyPI
This library is not meant to stand-alone. Instead it defines common helpers used by all Google API clients. For more information, see the...
Read more >
[Fixed] ModuleNotFoundError: No module named 'google-api ...
Quick Fix: Python raises the ImportError: No module named 'google-api-core' when it cannot find the library google-api-core . The most frequent source of ......
Read more >
Solving 'google-api-python-client' distribution was not found ...
For a project I need to use google-api-python-client package, although I installed it through pip at the runtime I receive this error:
Read more >
Source code for google.api_core.exceptions
"""Exceptions raised by Google API core & clients. ... [docs]class NotFound(ClientError): """Exception mapping a ``404 Not Found`` response or a :attr:`grpc ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found