cannot import httpx when running weather.py app from Textual dev command line. #3894
-
working with the weather.py example in the workers section of the documentation, I ran into trouble running from Textual dev tooling. when I run either regular or dev mode using textual, I get a httpx module not found error. the same trouble affects my application which I have been happily developing once I added httpx as an import. I would like to debug and see events while making network calls.
Textual DiagnosticsVersions
Python
Operating System
Terminal
Rich Console options
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
httpx is an external library which you will need to install with |
Beta Was this translation helpful? Give feedback.
-
Well, As to why That would mean you could have httpx installed with your One thing that might be a good idea is run |
Beta Was this translation helpful? Give feedback.
-
This usually indicates you have the |
Beta Was this translation helpful? Give feedback.
This usually indicates you have the
textual
command in a different environment. If you are using a virtual environments, be sure to install bothtextual
andtextual-dev
.