No module named urllib3
Either urllib3 is not imported or not installed.
To import, use
import urllib3
at the top of the file. To install write:
pip install urllib3
into terminal.
It could be that you did not activate the environment variable correctly.To activate the environment variable, write
source env/bin/activate
into terminal. Here env
is the environment variable name.
pip install urllib3
The reason it broke is that I had installed an incompatible version of urllib3
as a transient dependency of awscli
. You'll see such conflicts when you rerun the install.
set you environment by writing source env/bin/activate if env not found write virtualenv env first then source env/bin/activate , then check pip freeze if urllib3 not found there then reinstall urllib3, hope it helps.