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

[Bug] quickstart guide on dashboard does not work #2105

Open
robonxt-ai opened this issue Dec 21, 2024 · 0 comments
Open

[Bug] quickstart guide on dashboard does not work #2105

robonxt-ai opened this issue Dec 21, 2024 · 0 comments

Comments

@robonxt-ai
Copy link

🐛 Describe the bug

It's weird, as it used to work (like two months ago), but following the quickstart guide from the dashboard does not work.

Steps I did:

  1. Created a new .venv environment and load it

  2. Ran pip install mem0ai to install mem0

  3. Ran the file mem0.py that contains the following:

from mem0 import MemoryClient
client = MemoryClient(api_key="your-api-key")

I get the following error:

user@machine:~/project_dir$ python mem0.py 
Traceback (most recent call last):
  File "/home/user/project_dir/mem0.py", line 1, in <module>
    from mem0 import MemoryClient
  File "/home/user/project_dir/mem0.py", line 1, in <module>
    from mem0 import MemoryClient
ImportError: cannot import name 'MemoryClient' from partially initialized module 'mem0' (most likely due to a circular import) (/home/user/project_dir/mem0.py)

The directory is as follows:

project_dir/
- .venv/
- mem0.py

Any advice would be appreciated!

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

1 participant