Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'common_service_pb2' from 'watson_nlp_runtime_client' Did you mean: 'infoservice_pb2'? #85

Open
hehuipu opened this issue Jul 4, 2024 · 0 comments

Comments

@hehuipu
Copy link

hehuipu commented Jul 4, 2024

Follow the guide of ReadMe, when run [python Tone_dash_app.py], got the error as the issue title.
For addition error message:
Watson-NLP/MLOps/Dash-App-gRPC-Client/client-env/lib/python3.12/site-packages/watson_nlp_runtime_client/init.py). Did you mean: 'infoservice_pb2'?

Is there any unsuitable code between [GrpcClient.py] and [watson_nlp_runtime_client] ?
[GrpcClient.py]
from watson_nlp_runtime_client import (
common_service_pb2,
common_service_pb2_grpc,
syntax_types_pb2,
)

[watson_nlp_runtime_client]
there is no [common_service_pb2] or [common_service_pb2_grpc] or [syntax_types_pb2],
but only [infoservice_pb2.py] and [infoservice_pb2_grpc.py]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant