InstaPy / InstaPy/instapy-docs

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

未关闭
#30 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
65
派生
54
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

调研方向

The report names My.Account.py and the installed clarifai and google/api/http_pb2.py paths, but no repository file or test. Start by reproducing the import and checking the dependency versions involved; done requires a confirmed cause and a documented or tested resolution for the reported error.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
documentation
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。