[Python] protoc-gen-gprc_python: program not found or is not executable

Discussão em 'Python' iniciado por Stack, Junho 9, 2025.

  1. Stack

    Stack Membro Participativo

    When I try to generate proto files using Python's grpc_tools.protoc library:

    python -m grpc_tools.protoc -I protos --python_out=. --gprc_python_out=. protos/test.proto


    it fails with the error

    protoc-gen-gprc_python: program not found or is not executable
    --gprc_python_out: protoc-gen-gprc_python: Plugin failed with status code 1.


    I've already installed the following packages in my conda environment:

    conda install -c conda-forge grpclib
    conda install grpcio grpcio-tools


    $ python -m grpc_tools.protoc --version
    libprotoc 3.6.1


    What is my conda environment missing that is prevent me from running my above command? Thank you

    Continue reading...

Compartilhe esta Página