Skip to content Skip to sidebar Skip to footer

Google AppEngine Webapp2: No Module Named Pkg_resources Error When Importing Bigquery

I am devolving a web engine app, and want to connect to Google bigquery. Everything works fine until I type the following: from google.cloud import bigquery If I put this line i

Solution 1:

The traceback indicates you're running bigquery code from your local machine library, not from the app's library.

You need to vendor the library into your application. From the App Engine specific BigQuery API Client Library for Python instructions:

Because the Python client libraries are not installed in the App Engine Python runtime environment, they must be vendored into your application just like third-party libraries.


Post a Comment for "Google AppEngine Webapp2: No Module Named Pkg_resources Error When Importing Bigquery"