Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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