Skip to content

ImportError: cannot import name 'FastAPICache' from 'fastapi_cache'  #489

Open
@Ppang0405

Description

@Ppang0405

I got an import error when running examples app from this repo, in both Redis and InMemory cache examples.

ImportError: cannot import name 'FastAPICache' from 'fastapi_cache' 

the line got error

from fastapi_cache import FastAPICache

python version 3.11.10
does anyone encounter this issue before or know how can I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions