Importing requests module does not work
The most common reason for this is that you have two versions of Python 2.x, and the pip that comes first in your PATH doesn’t go with the python that comes first in your PATH. There are two ways that can happen. First, you may have, e.g., /usr/local/bin before /usr/bin on your PATH, but your /usr/local copy of Python doesn’t have pip. So, when you run pip install requests, that’s /usr/bin/pip, which … Read more