." % (sys.argv[0],))在终端上运行这个程序时,我会得到一个错误,上面写着:
You need to set your Spotify API credentials方法之上。接下来,我尝试将client_id、client_secret和redirect_uri作为参数传递到util.
我遇到的问题是,当我使用python 3在windows 10 pc上运行代码时,编写缓存文件和保持程序正常运行是没有问题的,但是当我在Raspberry PI上运行该程序(同时使用python 3)时to keep updating # Gets a token for spotify and should keep it updated
token = util.prompt_for_user_token