[Python] Why am I getting incompatibility of protobuf while install grpcio-tools?

Discussão em 'Python' iniciado por Stack, Maio 18, 2025.

  1. Stack

    Stack Membro Participativo

    When I want to install grpcio-tools using command:

    python3 -m pip install grpcio-tools


    [​IMG]

    While on the other hand when I want to run pip3 install mysql-connector-python to install mysql-connector-python:

    [​IMG]

    What should I do for this incompatibility?

    whereis protoc
    protoc: /usr/local/bin/protoc


    pip show protobuf
    Name: protobuf
    Version: 3.20.1
    Summary: Protocol Buffers
    Home-page: https://developers.google.com/protocol-buffers/
    Author: None
    Author-email: None
    License: BSD-3-Clause
    Location: /home/lfathi/.local/lib/python3.8/site-packages
    Requires:
    Required-by: mysql-connector-python, grpcio-tools

    protoc --version
    libprotoc 3.2.0


    which causes problem in running grpc

    Continue reading...

Compartilhe esta Página