Skip to content

langchain-google-datastore-python fails with python3.10 #23

@kurtisvg

Description

@kurtisvg

Filing on behalf of @lkuligin

It looks like langchain-google-datastore-python has support only for python>3.11 although it claims to support python>=3.8

requires-python = ">=3.8"

This

from langchain_google_datastore import DatastoreChatMessageHistory
from uuid import uuid4


chat_history = DatastoreChatMessageHistory(
    session_id=str(uuid4()), kind="HistoryMessages"
)

fails with the error

ImportError: cannot import name 'StrEnum' from 'enum' (/usr/lib/python3.10/enum.py)

(since StrEnum is support only with python3.11 https://stackoverflow.com/questions/75850073/python-enum-attributeerror-module-enum-has-no-attribute-strenum)

Metadata

Metadata

Assignees

Labels

api: datastoreIssues related to the googleapis/langchain-google-datastore-python API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions