Skip to content

[BUG] no such module: fts5 #245

@jonduenas

Description

@jonduenas

Bug Description

When trying to write a note with basic-memory in Claude Code, I always get an error about "no such module: fts5".

I installed basic-memory initially through homebrew, but I just now tried uninstalling and then reinstalling using the "single step installation" using curl. I've restarted terminal and Claude Code and nothing seems to fix this.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install version 0.14.2 (I used "single step installation")
  2. Add MCP to Claude Code
  3. Ask Claude Code to write a note
  4. See error

Expected Behavior

The note is written.

Actual Behavior

Error: Error calling tool 'write_note': (sqlite3.OperationalError) no such module: fts5
     [SQL:
                 SELECT
                     project_id,
                     id,
                     title,
                     permalink,
                     file_path,
                     type,
                     metadata,
                     from_id,
                     to_id,
                     relation_type,
                     entity_id,
                     content_snippet,
                     category,
                     created_at,
                     updated_at,
                     bm25(search_index) as score
                 FROM search_index
                 WHERE (title MATCH ? OR content_stems MATCH ?) AND type IN ('entity') AND project_id = ?
                 ORDER BY score ASC
                 LIMIT ?
                 OFFSET ?
             ]
     [parameters: ('"test/Basic Memory Test.md"', '"test/Basic Memory Test.md"', 1, 10, 0)]
     (Background on this error at: https://sqlalche.me/e/20/e3q8)

Environment

  • OS: macOS 15.5
  • Python version: 3.13.5
  • Basic Memory version: 0.14.2
  • Installation method: uv via "single step installation" script
  • Claude Desktop version (if applicable): n/a (Using Claude Code 1.0.65)

Additional Context

Possible Solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions