Skip to content

fastapi0.87.0 - ModuleNotFoundError: No module named 'httpx' while import TestClient from fastapi.testclient #6195

Answered by iudeen
anoopks12 asked this question in Questions
Discussion options

You must be logged in to vote

Just do pip install httpx or pip install fastapi[all] —upgrade

If the solution above works for you, please close the issue. 😊

Replies: 9 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Kludex
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jgould22
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem question-migrate
9 participants
Converted from issue

This discussion was converted from issue #5656 on February 27, 2023 21:28.