Skip to content

ModuleNotFoundError: No module named 'httpx' #23

@MalcomRdg

Description

@MalcomRdg

Describe the bug
Following all the instruction from https://modelcontextprotocol.io/quickstart/server#what-we%E2%80%99ll-be-building and https://modelcontextprotocol.io/quickstart/client. When running the client , It always show

import httpx
ModuleNotFoundError: No module named 'httpx'

I checked many times and I have everything installed properly even httpx and this is well accessible from my uv.

To Reproduce.
Steps to reproduce the behavior:

  1. create server on its own directory with its own uv venv
  2. create the client by following https://modelcontextprotocol.io/quickstart/client on another folder of the same parent directory , creating again its own uv venv

Expected behavior
not import error , just running the code properly

Logs
If applicable, add logs to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions