Skip to content

AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key' #30

@Tr1pke

Description

@Tr1pke

i reinstalled my ubuntu and now i have this error :

Traceback (most recent call last):
File "My.Account.py", line 1, in
from instapy import InstaPy
File "/home/USERDIR/.local/lib/python3.8/site-packages/instapy/init.py", line 6, in
from .instapy import InstaPy
File "/home/USERDIR/.local/lib/python3.8/site-packages/instapy/instapy.py", line 33, in
from .clarifai_util import check_image
File "/home/USERDIR/.local/lib/python3.8/site-packages/instapy/clarifai_util.py", line 3, in
from clarifai.rest import ClarifaiApp
File "/home/USERDIR/.local/lib/python3.8/site-packages/clarifai/rest/init.py", line 3, in
from clarifai.rest.client import ApiClient
File "/home/USERDIR/.local/lib/python3.8/site-packages/clarifai/rest/client.py", line 29, in
from clarifai.rest.grpc.grpc_json_channel import GRPCJSONChannel, dict_to_protobuf, protobuf_to_dict
File "/home/USERDIR/.local/lib/python3.8/site-packages/clarifai/rest/grpc/grpc_json_channel.py", line 13, in
from clarifai.rest.grpc.proto.clarifai.api.endpoint_pb2 import _V2
File "/home/USERDIR/.local/lib/python3.8/site-packages/clarifai/rest/grpc/proto/clarifai/api/endpoint_pb2.py", line 33, in
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
File "/home/USERDIR/.local/lib/python3.8/site-packages/google/api/annotations_pb2.py", line 30, in
from google.api import http_pb2 as google_dot_api_dot_http__pb2
File "/home/USERDIR/.local/lib/python3.8/site-packages/google/api/http_pb2.py", line 35, in
create_key=_descriptor._internal_create_key,
AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'

Any advice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions