TRI-ML / dgp

ML Dataset Governance Policy for Autonomous Vehicle Datasets
https://tri-ml.github.io/dgp/
MIT License
94 stars 62 forks source link

build: fix missing protobuf dependency #149

Closed chunleng-woven closed 1 year ago

chunleng-woven commented 1 year ago

After installation, some missing dependency prevents the use of protobuf

Traceback (most recent call last):
  File "/Users/chunleng.lim/Documents/git/dgp/test.py", line 1, in <module>
    from dgp.annotations import semantic_segmentation_2d_annotation
  File "/Users/chunleng.lim/Documents/git/dgp/dgp/annotations/__init__.py", line 5, in <module>
    from dgp.annotations.ontology import (
  File "/Users/chunleng.lim/Documents/git/dgp/dgp/annotations/ontology.py", line 7, in <module>
    from dgp.proto.dataset_pb2 import Ontology as OntologyV1Pb2
  File "/Users/chunleng.lim/Documents/git/dgp/dgp/proto/dataset_pb2.py", line 5, in <module>
    from google.protobuf.internal import enum_type_wrapper
ModuleNotFoundError: No module named 'google.protobuf'