obsrvbl-oss / gcp-flowlogs-reader

Command line tool and Python library for working with Google Cloud VPC Flow Logs
Apache License 2.0
9 stars 2 forks source link

Installation fails due to protobuf dependency issue #24

Open yamaszone opened 1 year ago

yamaszone commented 1 year ago

python setup.py install fails with the following error:

error: protobuf 4.21.12 is installed but protobuf<4.0.0dev is required by {'google-cloud-logging'}

The following fixes the above issue

 install_requires =
     google-cloud-logging < 2.0
     google-cloud-resource-manager
+    protobuf < 4.0.0dev

but encounters the following error:

error: protobuf 3.20.3 is installed but protobuf>=4.21.6 is required by {'grpcio-status'}

So, google-cloud-logging and grpcio-status depend on two difference protobuf versions which can't be satisfied at the same time. I wonder if there's any quick fixes for this.

damelo commented 1 year ago

Hi @yamaszone , no answer for your question... I'm facing the same problem. It seems Google hasn't fixed the protobuf issue...