Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
psheorangithub opened this issue May 15, 2023 · 6 comments · Fixed by #3902
Closed

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

psheorangithub opened this issue May 15, 2023 · 6 comments · Fixed by #3902

Comments

@psheorangithub
Copy link

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

@adchia
Copy link
Collaborator

adchia commented May 16, 2023

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.

@stale
Copy link

stale bot commented Sep 17, 2023

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.

@stale stale bot added the wontfix This will not be worked on label Sep 17, 2023
@npsables
Copy link

npsables commented Oct 23, 2023

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

@stale stale bot removed the wontfix This will not be worked on label Oct 23, 2023
@fsalazarh
Copy link

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'

@andrewshrout
Copy link

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

@fsalazarh
Copy link

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
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants