Forums

Twilio on Free Account? Can't get proxy to work (3.6)

Good morning.

I'm trying to test out Twilio on a free account (Python 3.6) and followed this process [https://help.pythonanywhere.com/pages/TwilioBehindTheProxy/] but can't get it to work.

As soon as I try run it, I immediately get

Traceback (most recent call last):
  File "/home/JackGrimm/mysite/sms.py", line 2, in <module>
    from twilio.rest import Client
ImportError: cannot import name 'Client'

It looks like you're using a version of twilio that has a different modules layout (there was a change at some point in the past). Make sure that your twillio version is up-to-date.