Check which versions of pip and python are running with this command:
which -a python which -a pip
pip needs to set a path that your Python executable can read. Sometimes there can be more than one version of pip , for example pip-2.5 , pip-2.7 , etc. You can find them all by running compgen -c | grep pip compgen -c | grep pip . There may also be more than one version of Python, especially if you have Macports or brew or several versions of Python.
Verify which version of twilio is installed by running the following command:
$ pip freeze | grep twilio
The output should be twilio==3.3.3 .
I hope this helps - please leave a comment if you have further questions.
source share