Skip to content

Feast chart 0.30.2 throws No module named 'feast.protos' #3627

Closed

Description

@psheorangithub

While deploying the 0.30.2 chart, I'm getting below error when running "feast version". Seems like the feast version installed there is broken.

While trying to test feast, getting following error.

Traceback (most recent call last):
File "/usr/local/bin/feast", line 5, in
from feast.cli import cli
File "/sdk/python/feast/init.py", line 7, in
from feast.infra.offline_stores.bigquery_source import BigQuerySource
File "/sdk/python/feast/infra/offline_stores/bigquery_source.py", line 5, in
from feast import type_map
File "/sdk/python/feast/type_map.py", line 37, in
from feast.protos.feast.types.Value_pb2 import (
ModuleNotFoundError: No module named 'feast.protos'

How to fix it:
Rollback to 0.30.2 version
$ pip uninstall feast
$ pip install feast==0.30.2

Activity

  1. adchia commented on May 16, 2023

    @adchia
    Collaborator

    Not quite sure what you mean. When you deploy the helm chart, that goes into k8s right? are you running feast version on the feature server pod?

    I also just ran pip install feast==0.30.2 and ran feast version and it seemed to work fine.

  2. stale commented on Sep 17, 2023

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  3. npsables commented on Oct 23, 2023

    @npsables

    Ran into the same issue. The way feast is installed in chart docker image is different, it didn't use pip install feast.

  4. fsalazarh commented on Nov 7, 2023

    @fsalazarh

    Same issue here with chart version 0.34.1, the transformation-service pod throws the following once installed the chart with helm:

    Traceback (most recent call last):
      File "//app.py", line 9, in <module>
        from feast import FeatureStore
      File "/sdk/python/feast/__init__.py", line 7, in <module>
        from feast.infra.offline_stores.bigquery_source import BigQuerySource
      File "/sdk/python/feast/infra/offline_stores/bigquery_source.py", line 5, in <module>
        from feast import type_map
      File "/sdk/python/feast/type_map.py", line 37, in <module>
        from feast.protos.feast.types.Value_pb2 import (
    ModuleNotFoundError: No module named 'feast.protos'
    
  5. andrewshrout commented on Nov 7, 2023

    @andrewshrout

    Getting the same thing as @fsalazarh with chart version 0.34.1 when attempting to deploy to k8s.

  6. fsalazarh commented on Nov 7, 2023

    @fsalazarh

    In case it helps anyone, I realized that the error is in the Helm Chart of the Java version (which is in Alpha for now). Then I deployed the Python/Go chart following this tutorial and it does not present the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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