Skip to content

Incorrect grpcio version Python client #804

Open
@tigersoldier

Description

@tigersoldier

The grpc genereated code requires the same or higher version of grpcio, otherwise it throws the following errors at runtime:

/usr/local/lib/python3.10/dist-packages/tritonclient/grpc/service_pb2_grpc.py:19: in <module>
    raise RuntimeError(
E   RuntimeError: The grpc package installed is at version 1.66.2, but the generated code in grpc_service_pb2_grpc.py depends on grpcio>=1.67.0. Please upgrade your grpc module to grpcio>=1.67.0 or downgrade your generated code using grpcio-tools<=1.66.2.

As of 2.51.0, the min grpcio version should be 1.67.0, not 1.63.0 as declared here.

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