You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ImportError while importing test module '/workspace/sdk/python/tests/test_client.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_client.py:23: in <module>
import feast.core.CoreService_pb2_grpc as Core
feast/__init__.py:9: in <module>
from .client import Client
feast/client.py:32: in <module>
from feast.core.CoreService_pb2 import (
feast/core/CoreService_pb2.py:16: in <module>
from feast.core import FeatureSet_pb2 as feast_dot_core_dot_FeatureSet__pb2
feast/core/FeatureSet_pb2.py:21: in <module>
from tensorflow_metadata.proto.v0 import schema_pb2 as tensorflow__metadata_dot_proto_dot_v0_dot_schema__pb2
E ModuleNotFoundError: No module named 'tensorflow_metadata'
@woop Hi, I tried to run the example notebook (basic.ipynb) but I got this error: "ModuleNotFoundError: No module named 'feast.core'" at Step 2 (Import necessary modules)
@woop same for me "ModuleNotFoundError: No module named 'feast.core'" whenever I try to import any feast module.
_ I think I need to run "make compile-protos-python" _
Activity
Yanson commentedon Jan 28, 2020
Build log from Cloud Build step:
unit-test-python-sdk.txt
Excerpt:
woop commentedon Jan 29, 2020
Aha, well caught. Your approach is actually the right way to do it.
Will keep this issue open until we have submitted a PR to fix
woop commentedon Mar 28, 2020
@Yanson I believe this is resolved. Please let me know if we should reopen.
IraO commentedon Apr 8, 2020
@woop Hi, I tried to run the example notebook (basic.ipynb) but I got this error: "ModuleNotFoundError: No module named 'feast.core'" at Step 2 (Import necessary modules)
Basma-Elsaify commentedon Apr 21, 2020
@woop same for me "ModuleNotFoundError: No module named 'feast.core'" whenever I try to import any feast module.
_ I think I need to run "make compile-protos-python" _