我使用以下代码:
from twilio.rest import Client
account_sid = "xxxxxxxxxxx"
auth_token = "xxxxxxxxxxxxxxx"
client = Client(account_sid, auth_token)
message = client.messages.create(
to="xxxxxxxxx",
from_="+xxxxxxxx",
body="Hello from Python!")
print(message.sid)
我也用过:pip install twilio 和conda从终端(MacOS)安装-c ceyhun twilio。但错误属于 - ImportError:无法导入名称Client
请帮帮我。