Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Needs protobuf minimum version 3.12.0 #305

Closed
Assignees
yoshi-automation
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.type: questionRequest for information or clarification. Not an issue.
@anistark

Description

@anistark

If you are still having issues, please be sure to include as much information as possible:

Environment details

  • OS type and version: MacOS
  • Python version:python --version 3.8
  • pip version:pip --version 20.2.3
  • google-cloud-bigquery version:pip show google-cloud-bigquery 2.0.0

Steps to reproduce

  1. Just install the package, import somewhere and run it.

Code example

fromgoogle.cloudimportbigquery

Stack trace

File "/.../venv/lib/python3.8/site-packages/google/protobuf/internal/python_message.py", line 570, in _GetFieldByName    return message_descriptor.fields_by_name[field_name]KeyError: 'proto3_optional'...   from google.cloud import bigquery  File "/.../venv/lib/python3.8/site-packages/google/cloud/bigquery/__init__.py", line 35, in <module>    from google.cloud.bigquery.client import Client  File "/.../venv/lib/python3.8/site-packages/google/cloud/bigquery/client.py", line 57, in <module>    from google.cloud.bigquery import _pandas_helpers  File "/.../venv/lib/python3.8/site-packages/google/cloud/bigquery/_pandas_helpers.py", line 36, in <module>    from google.cloud.bigquery import schema  File "/.../venv/lib/python3.8/site-packages/google/cloud/bigquery/schema.py", line 19, in <module>    from google.cloud.bigquery_v2 import types  File "/.../venv/lib/python3.8/site-packages/google/cloud/bigquery_v2/__init__.py", line 19, in <module>    from .types.encryption_config import EncryptionConfiguration  File "/.../venv/lib/python3.8/site-packages/google/cloud/bigquery_v2/types/__init__.py", line 18, in <module>    from .encryption_config import EncryptionConfiguration  File "/.../venv/lib/python3.8/site-packages/google/cloud/bigquery_v2/types/encryption_config.py", line 29, in <module>    class EncryptionConfiguration(proto.Message):  File "/.../venv/lib/python3.8/site-packages/proto/message.py", line 215, in __new__    field=[i.descriptor for i in fields],  File "/.../venv/lib/python3.8/site-packages/proto/message.py", line 215, in <listcomp>    field=[i.descriptor for i in fields],  File "/.../venv/lib/python3.8/site-packages/proto/fields.py", line 104, in descriptor    self._descriptor = descriptor_pb2.FieldDescriptorProto(  File "/.../venv/lib/python3.8/site-packages/google/protobuf/internal/python_message.py", line 509, in init    field = _GetFieldByName(message_descriptor, field_name)  File "/.../venv/lib/python3.8/site-packages/google/protobuf/internal/python_message.py", line 572, in _GetFieldByName    raise ValueError('Protocol message %s has no "%s" field.' %ValueError: Protocol message FieldDescriptorProto has no "proto3_optional" field.

Metadata

Metadata

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp