This repository was archived by the owner on Apr 8, 2025. It is now read-only.
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
ModuleNotFoundError no module name 'httpx' #143
Open
Description
Describe the bug
A clear and concise description of what the bug is.
Following the client tutorial, I am trying to launch the client with the weather server previously developed and I get this ModuleNotFoundError : No module name 'httpx'
Is it because I created separated virtual environments for the clients and the servers ?
Anyway, I have httpx
installed in both.
How does the client process the provided server ? Do I need to launch the server manually first ?
Below is my project structure
model_context_protocol/
┣ mcp_client/
┃ ┣ .venv/
┃ ┣ .env
┃ ┣ .gitignore
┃ ┣ .python-version
┃ ┣ client.py
┃ ┣ pyproject.toml
┃ ┣ README.md
┃ ┗ uv.lock
┗ weather/
┣ .venv/
┣ .python-version
┣ pyproject.toml
┣ README.md
┣ uv.lock
┗ weather.py