Install the Twilio Python Helper Library

The twilio-python helper library lets you write Python code to make HTTP requests to the Twilio API.

The easiest way to install twilio-python is from PyPi using pip, a package manager for Python. Simply run this in the terminal:

1. pip install twilio

If you get a pip: command not found error, you can also use easy_install. Run this in your terminal:

1. easy_install twilio

Or, you can download the source code (ZIP) for twilio-python, and then install the library by running:

1. python setup.py install

in the folder containing the twilio-python library.

“Permission Denied”

If the command line gives you a big long error message that says Permission Denied in the middle of it, try running the above commands with sudo, ex. sudo pip install twilio.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s