I wrote a script to call an API and ran it successfully last week. This week, it won\'t run. I get back the following error message:
Traceback (most recent call
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.