Python 预登录流!。。。instabot中发生错误

Python 预登录流!。。。instabot中发生错误,python,anaconda,Python,Anaconda,我想使用instabot,但出现-INFO-“ds\U用户\U id”错误 首先,我设置默认参数。其次,我运行python,比如_hashtags.py follow,然后输入1,这是我的帐户,所以信息-预登录流!。。。错误发生了。 回溯是 KeyError: 'ds_user_id' During handling of the above exception, another exception occurred: Traceback (most recent call last):

我想使用instabot,但出现-INFO-“ds\U用户\U id”错误

首先,我设置默认参数。其次,我运行
python,比如_hashtags.py follow
,然后输入1,这是我的帐户,所以信息-预登录流!。。。错误发生了。 回溯是

KeyError: 'ds_user_id'
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "like_hashtags.py", line 35, in <module>
    sleep(retry)
NameError: name 'sleep' is not defined
KeyError:'ds\u user\u id'
在处理上述异常期间,发生了另一个异常:
回溯(最近一次呼叫最后一次):
文件“like_hashtags.py”,第35行,在
睡眠(重试)
NameError:未定义名称“睡眠”

我删除了secret.txt,但发生了相同的错误。我应该如何修复此问题?

尝试使用以下命令更改行:

sleep(retry)
致:


谢谢你,错误被删除了,但是
2020-01-22 18:49:08733-信息-'ds\u user\u id'
错误发生了。我该怎么做?@Rose2017这已经是另一个问题了,你应该问另一个问题,记住也要接受并投票:PI发布了新问题。如果你知道什么,请帮助我。
import time
time.sleep(retry)