You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
Oh, I know. There's one line in client.py: command = "python" if is_python else "node".
The logic behind it is to execute this command with anyio.open_process, if you just use python, then it will use the system's default python interpreter, not the virtual environment you created.
The true code is: command = "<YOUR_VENV_PATH>\\.venv\\Scripts\\python.exe" if is_python else "node".
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
The text was updated successfully, but these errors were encountered: