Hi,
I have a short script I have placed on a schedule. But it seems there is an error in the import code. I'm using standard Twilio boilerplate code and, as far as I can tell, the twilio module is installed.
Here's the error code:
ImportError: cannot import name Client
And here's my script with anonymized data: <pre> from twilio.rest import Client import random
with open('quotes.txt', 'r', encoding='utf-8') as f: quote = random.choice(list(f))
textQuote = "Today's Bruce Lee Quote: \n{}".format(quote)
client = Client("##############", "###############")
client.messages.create(to="+1########", from_="+1########", body=textQuote) </pre>
Any help would be appreciated. I am new to python and pythonanywhere, so it's most likely something simple.
Thanks