Skip to content

Fail to import FastMCP #127

@4t8dd

Description

@4t8dd

I am trying the quickstart
But after I finished the code part, I failed to run it with error:

ModuleNotFoundError: No module named 'mcp.server.fastmcp'

And I tried again to import it from python cli. I got the same problem:
check the screenshot below:
1.
Screenshot 2025-01-04 at 8 54 05 PM
2.
Screenshot 2025-01-04 at 8 54 21 PM

My machine is MacOS with latest version: 15.2

python: Python 3.13.1

help me. Thanks in advance.

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