Skip to content

Missing psycopg_pool dependency in FastAPI server Docker image #3468

@cnmoon

Description

@cnmoon

🐛 Describe the bug

When attempting to run the FastAPI server Docker image, the container fails to start due to a missing dependency. The error logs clearly indicate that the psycopg_pool package is required but not included in the installation dependencies.

​Steps to Reproduce​
1.Build the FastAPI server Docker image
2.Run the container
3.Observe startup failure with error message:

Add the following line to mem0/server/requirement.txt:
psycopg_pool

Verified working with version psycopg_pool==3.2.6 (the version installed by default when no version is specified)

​Recommendation​
Please update the requirement.txt file to include this critical dependency to ensure Docker images build and run successfully.

​Environment​
• Python version: [3.12]
• Host OS: macOS Big Sur 11.7
• mem0 branch/commit: [0.1.117]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions