Skip to content

Missing files in 0.12.0 release (ImportError: cannot import name schema_pb2) #8

@wileeam

Description

@wileeam

I believe there has been some issue with the packaging because I am getting this error when running a pipeline with tf.Transform and getting the following error that after some investigation led me to tensorflow-metadata

File "/usr/local/lib/python2.7/dist-packages/tensorflow_transform/init.py", line 21, in
from tensorflow_transform.mappers import *
File "/usr/local/lib/python2.7/dist-packages/tensorflow_transform/mappers.py", line 62, in
from tensorflow_transform import schema_inference
File "/usr/local/lib/python2.7/dist-packages/tensorflow_transform/schema_inference.py", line 30, in
from tensorflow_transform.tf_metadata import dataset_schema
File "/usr/local/lib/python2.7/dist-packages/tensorflow_transform/tf_metadata/dataset_schema.py", line 23, in
from tensorflow_transform.tf_metadata import schema_utils
File "/usr/local/lib/python2.7/dist-packages/tensorflow_transform/tf_metadata/schema_utils.py", line 28, in
from tensorflow_metadata.proto.v0 import schema_pb2
ImportError: cannot import name schema_pb2

I checked the files at https://pypi.org/project/tensorflow-metadata/#files and they are indeed missing protos that should be there as per the aforementioned ImportError

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