whenever I import the module "httpx", for example in this code:
import httpx
input()
I get this error:
module 'httpcore' has no attribute 'TimeoutException'
line 1, in <module>
import httpx
What version of pip are you using ? Try updating pip and reinstalling the package Or you can try installing the pre 10 release using $ pip install httpx --pre as stated in the httpx docs https://www.python-httpx.org/
Ok, I finally solved the error after 1 month, all you got to do is:
pip uninstall httpcore
then
pip install httpcore[http2]