Відгуки: Configuring, Using, and Auditing VM Service Accounts and Scopes

15874 відгуки

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 (. · Відгук надано майже 5 років тому

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. · Відгук надано майже 5 років тому

Brendan F. · Відгук надано майже 5 років тому

No se llega a instalar bien la librería de python para bigquery y el laboratorio no se puede completar.

Javier L. · Відгук надано майже 5 років тому

Patricia E. · Відгук надано майже 5 років тому

Celia M. · Відгук надано майже 5 років тому

session

Yuvaraj G. · Відгук надано майже 5 років тому

Ng Y. · Відгук надано майже 5 років тому

Farah D. · Відгук надано майже 5 років тому

Marcos C. · Відгук надано майже 5 років тому

Dale M. · Відгук надано майже 5 років тому

Arturo L. · Відгук надано майже 5 років тому

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 (. · Відгук надано майже 5 років тому

Zak P. · Відгук надано майже 5 років тому

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. · Відгук надано майже 5 років тому

SSH wouldnt let me in

Leon R. · Відгук надано майже 5 років тому

Lim H. · Відгук надано майже 5 років тому

Philippe B. · Відгук надано майже 5 років тому

Pb with grpcio package

Emmanuel Q. · Відгук надано майже 5 років тому

Takes too long to install bigquery there's a problem in the package

David H. · Відгук надано майже 5 років тому

Nicolas C. · Відгук надано майже 5 років тому

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. · Відгук надано майже 5 років тому

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. · Відгук надано майже 5 років тому

completed lab

Vijay S. · Відгук надано майже 5 років тому

BABANNA K. · Відгук надано майже 5 років тому

Ми не гарантуємо, що опубліковані відгуки написали клієнти, які придбали продукти чи скористалися ними. Відгуки не перевіряються Google.