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

❌ unhandled err breaks install - cannot import name 'WRITES_IDX_MAP' from 'langgraph.checkpoint.base #18

Open
6rz6 opened this issue Oct 2, 2024 · 2 comments

Comments

@6rz6
Copy link

6rz6 commented Oct 2, 2024

err during install:
installing on ubuntu jammy with py 3.10.12:

=> => exporting layers 21.0s
=> => writing image sha256:b2e056e5531aaeff2114f2ec0a9e585124c4a603250d159252b190dcfb9b3e48 0.0s
=> => naming to docker.io/library/agentk-agentk 0.0s
=> [agentk] resolving provenance for metadata file 0.0s
Traceback (most recent call last):
File "/app/agent_kernel.py", line 4, in
from agents import hermes
File "/app/agents/hermes.py", line 7, in
import utils
File "/app/utils.py", line 8, in
from langgraph.checkpoint.sqlite import SqliteSaver
File "/usr/local/lib/python3.12/site-packages/langgraph/checkpoint/sqlite/init.py", line 9, in
from langgraph.checkpoint.base import (
**ImportError: cannot import name 'WRITES_IDX_MAP' from 'langgraph.checkpoint.base' (/usr/local/lib/python3.12/site-packages/**langgraph/checkpoint/base/init.py)
(agentk) root@s0-2v4-ams3:~/dev/AgentK#

@ramontayag
Copy link

Check out langchain-ai/langgraph#1570

@ahmetax
Copy link

ahmetax commented Nov 23, 2024

ImportError: cannot import name 'WRITES_IDX_MAP' from 'langgraph.checkpoint.base' on Ubuntu 24.04. Although I tried almost all versions of libraries, no success!
I also tried to change the python version to 3.10, by changin the first line in Dockerfile as "FROM python:3.10-bullseye", it still installs Python3.13.
This is a good project. It would be nice to be able to run it!...

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

No branches or pull requests

3 participants