I am new to Python and writing a lambda function. I installed urllib3 using pip but still getting this following error.

I tried restarting vscode/ uninstall and reinstall but still getting the error.
this is the result when I run pip show urllib3

what am i missing here?
Maybe there is more than one python environment on your machine, And the location where you installed the package is inconsistent with the python interpreter you are using now.
You can use CTRL + SHIFT + P to open the command palette and search Python: Select Interpreter (or click on the interpreter version displayed in the lower right corner).

Select the environment interpreter where you have the urllib3 package installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With