Skip to content

ImportError: cannot import name 'runtime_version' from 'google.protobuf' in version 0.49.0 #5383

Open
@Deshmukh1992

Description

@Deshmukh1992

I am trying to install below version of feast in docker container

feast==0.49.0
feast[gcp]==0.49.0
feast[redis]==0.49.0

While running Feast I am getting error cannot import name 'runtime_version' from 'google.protobuf'

Expected Behavior

Should work with no error

Current Behavior

File "/usr/local/lib/python3.11/site-packages/feast/__init__.py", line 4, in <module>
	from feast.infra.offline_stores.bigquery_source import BigQuerySource
File "/usr/local/lib/python3.11/site-packages/feast/infra/offline_stores/bigquery_source.py", line 5, in ‹module> 
	from feast import type_map
File "/usr/local/lib/python3.11/site-packages/feast/type_map-py", line 39, in ‹module> 
	from feast.protos.feast.types.Value pb2 import (
File "/usr/local/lib/python3.11/site-packages/feast/protos/feast/types/Value_pb2.py", line 9, in ‹module>
	from google protobuf import runtime_version as _runtime_version
ImportError: cannot import name 'runtime_version' from 'google.protobuf' (/usr/local/lib/python3.11/site-packages/google/protobuf/__init__.py)

Steps to reproduce

Specifications

  • Version: 0.49.0
  • Platform: Linux
  • Subsystem: Build system

Possible Solution

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions