gpt4 book ai didi

python - TwilioRestClient 已删除

转载 作者:行者123 更新时间:2023-12-02 00:02:29 28 4
gpt4 key购买 nike

tClient= TwilioRestClient(sid, token)

此代码抛出异常:

twilio.base.obsolete.ObsoleteException: TwilioRestClient has been removed from this version of the library. Please refer to current documentation for guidance.

似乎在任何地方都找不到对此的引用,这在几天前就有效了!

使用 python 3.7 和 VS2017

最佳答案

使用

from twilio.rest import Client

tClient= Client(sid, token)

因为 TwilioRestClient 已被弃用。

关于python - TwilioRestClient 已删除,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51878976/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com