Configuring, Using, and Auditing VM Service Accounts and Scopes Reviews
15874 reviews
I ran the commands three times python3 query.py Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/credentials.py", line 111, in refresh self._retrieve_info(request) File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/credentials.py", line 88, in _retrieve_in fo request, service_account=self._service_account_email File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/_metadata.py", line 234, in get_service_a ccount_info return get(request, path, params={"recursive": "true"}) File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/_metadata.py", line 187, in get response, google.auth.exceptions.TransportError: ('Failed to retrieve http://metadata.google.internal/computeMetadata/v1/inst ance/service-accounts/YOUR_SERVICE_ACCOUNT/?recursive=true from the Google Compute Enginemetadata service. Status: 404 Response:\nb\'<!DOCTYPE html>\\n<html lang=en>\\n <meta charset=utf-8>\\n <meta name=viewport content="initia l-scale=1, minimum-scale=1, width=device-width">\\n <title>Error 404 (Not Found)!!1</title>\\n <style>\\n *{ma rgin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin :7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/err ors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-deco ration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;pad ding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no -repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/image s/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.googl e.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pi xel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no- repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}\\n </style>\\n <a h ref=//www.google.com/><span id=logo aria-label=Google></span></a>\\n <p><b>404.</b> <ins>That\\xe2\\x80\\x99s an e rror.</ins>\\n <p>The requested URL <code>/computeMetadata/v1/instance/service-accounts/YOUR_SERVICE_ACCOUNT/?recu rsive=true</code> was not found on this server. <ins>That\\xe2\\x80\\x99s all we know.</ins>\\n\'', <google.auth.t ransport.requests._Response object at 0x7f727e2f1278>) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "query.py", line 23, in <module> print(client.query(query).to_dataframe()) File "/usr/local/lib/python3.7/dist-packages/google/cloud/bigquery/client.py", line 2931, in query query_job._begin(retry=retry, timeout=timeout) File "/usr/local/lib/python3.7/dist-packages/google/cloud/bigquery/job/query.py", line 1088, in _begin super(QueryJob, self)._begin(client=client, retry=retry, timeout=timeout) File "/usr/local/lib/python3.7/dist-packages/google/cloud/bigquery/job/base.py", line 465, in _begin timeout=timeout, these errors I could not figure out at the end and was running out of time will try again
Eric (. · Reviewed почти 5 лет ago
30 minutes to compile the google-api update. And finally the "six" library wasn't up to date, so you have to add this step
Laurent B. · Reviewed почти 5 лет ago
Brendan F. · Reviewed почти 5 лет ago
No se llega a instalar bien la librería de python para bigquery y el laboratorio no se puede completar.
Javier L. · Reviewed почти 5 лет ago
Patricia E. · Reviewed почти 5 лет ago
Celia M. · Reviewed почти 5 лет ago
session
Yuvaraj G. · Reviewed почти 5 лет ago
Ng Y. · Reviewed почти 5 лет ago
Farah D. · Reviewed почти 5 лет ago
Marcos C. · Reviewed почти 5 лет ago
Dale M. · Reviewed почти 5 лет ago
Arturo L. · Reviewed почти 5 лет ago
I ran the commands three times python3 query.py Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/credentials.py", line 111, in refresh self._retrieve_info(request) File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/credentials.py", line 88, in _retrieve_in fo request, service_account=self._service_account_email File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/_metadata.py", line 234, in get_service_a ccount_info return get(request, path, params={"recursive": "true"}) File "/usr/local/lib/python3.7/dist-packages/google/auth/compute_engine/_metadata.py", line 187, in get response, google.auth.exceptions.TransportError: ('Failed to retrieve http://metadata.google.internal/computeMetadata/v1/inst ance/service-accounts/YOUR_SERVICE_ACCOUNT/?recursive=true from the Google Compute Enginemetadata service. Status: 404 Response:\nb\'<!DOCTYPE html>\\n<html lang=en>\\n <meta charset=utf-8>\\n <meta name=viewport content="initia l-scale=1, minimum-scale=1, width=device-width">\\n <title>Error 404 (Not Found)!!1</title>\\n <style>\\n *{ma rgin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin :7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/err ors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-deco ration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;pad ding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no -repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/image s/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.googl e.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pi xel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no- repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}\\n </style>\\n <a h ref=//www.google.com/><span id=logo aria-label=Google></span></a>\\n <p><b>404.</b> <ins>That\\xe2\\x80\\x99s an e rror.</ins>\\n <p>The requested URL <code>/computeMetadata/v1/instance/service-accounts/YOUR_SERVICE_ACCOUNT/?recu rsive=true</code> was not found on this server. <ins>That\\xe2\\x80\\x99s all we know.</ins>\\n\'', <google.auth.t ransport.requests._Response object at 0x7f727e2f1278>) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "query.py", line 23, in <module> print(client.query(query).to_dataframe()) File "/usr/local/lib/python3.7/dist-packages/google/cloud/bigquery/client.py", line 2931, in query query_job._begin(retry=retry, timeout=timeout) File "/usr/local/lib/python3.7/dist-packages/google/cloud/bigquery/job/query.py", line 1088, in _begin super(QueryJob, self)._begin(client=client, retry=retry, timeout=timeout) File "/usr/local/lib/python3.7/dist-packages/google/cloud/bigquery/job/base.py", line 465, in _begin timeout=timeout, these errors I could not figure out at the end and was running out of time will try again
Eric (. · Reviewed почти 5 лет ago
Zak P. · Reviewed почти 5 лет ago
Should probably warn that pip3 install --upgrade google-cloud-bigquery will requires about 10 minutes to compile and install all its dependencies - the big one being grpcio
Sam Y. · Reviewed почти 5 лет ago
SSH wouldnt let me in
Leon R. · Reviewed почти 5 лет ago
Lim H. · Reviewed почти 5 лет ago
Philippe B. · Reviewed почти 5 лет ago
Pb with grpcio package
Emmanuel Q. · Reviewed почти 5 лет ago
Takes too long to install bigquery there's a problem in the package
David H. · Reviewed почти 5 лет ago
Nicolas C. · Reviewed почти 5 лет ago
error during sudo pip3 install --upgrade google-cloud-bigquery step and after at least 15 minutes ! google-api-core 1.26.0 has requirement six>=1.13.0, but you'll have six 1.12.0 which is incompatible. Need to be fix in Package
Christophe F. · Reviewed почти 5 лет ago
Problem with installation of google-cloud-bigquery. Installation very long (more than 15min) and finished with an error message: google-api-core 1.26.0 has requirement six>=1.13.0, but you'll have six 1.12.0 which is incompatible.
francois o. · Reviewed почти 5 лет ago
completed lab
Vijay S. · Reviewed почти 5 лет ago
BABANNA K. · Reviewed почти 5 лет ago
We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.