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

v 0.1.16 SDK ImportError: cannot import name 'Letta' from 'letta' But installed #2376

Open
quantumalchemy opened this issue Jan 22, 2025 · 2 comments

Comments

@quantumalchemy
Copy link

Installed with docker 0.1.16\new sdk not working..
installed But >>

pip show letta-client
Name: letta-client
Version: 0.1.16
Summary:
Home-page:
Author:
Author-email:
License:
Location: /app/.venv/lib/python3.11/site-packages
Requires: httpx, httpx-sse, pydantic, pydantic-core, typing_extensions
Required-by: letta
root@4426541a1900:~# python
Python 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from letta import Letta
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'Letta' from 'letta' (/app/letta/init.py)

@quantumalchemy quantumalchemy changed the title docker 0.1.16 SDK ImportError: cannot import name 'Letta' from 'letta' But installed v 0.1.16 SDK ImportError: cannot import name 'Letta' from 'letta' But installed Jan 22, 2025
@cpacker
Copy link
Collaborator

cpacker commented Jan 23, 2025

can you try from letta_client import Letta?

Image

^from https://docs.letta.com/quickstart

@quantumalchemy
Copy link
Author

Only works with from letta import create_client

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

2 participants