I am getting the following error, when I want to run the "master/examples/app.py" (unchanged code, just cloned it from Github):
ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "...\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "...\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "...\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "...\AppData\Local\Programs\Python\Python38\lib\site-packages\flask_compat.py", line 39, in reraise
raise value
File "...\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "...\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File ".../app.py", line 51, in index
cache_handler = spotipy.cache_handler.CacheFileHandler(cache_path=session_cache_path())
AttributeError: module 'spotipy' has no attribute 'cache_handler'
It seems that he is missing the cache_handler. Did I forget something obvious, that I have to execute, before I can use the "master/examples/app.py" code?
I am using Spotipy v2.16.1 and installed all required libs.
I am getting the following error, when I want to run the "master/examples/app.py" (unchanged code, just cloned it from Github):
It seems that he is missing the cache_handler. Did I forget something obvious, that I have to execute, before I can use the "master/examples/app.py" code? I am using Spotipy v2.16.1 and installed all required libs.
Thanks in advance for your help!