Spotipy: Playback commands are not in the PIP package

Created on 9 Nov 2017  路  3Comments  路  Source: plamere/spotipy

When I install spotipy via PIP and try to run a playback command, they are not found in the package.
Commands such as start_playback, next_track, previous_track. I also checked the site-packages folder inside my virtual environment and in the source code those methods are not found.

Traceback (most recent call last):
  File "spot.py", line 19, in <module>
    spotify.previous_track()
AttributeError: 'Spotify' object has no attribute 'previous_track'

When I clone the repo, and install via setup.py install, the playback commands work fine, but it would be nice to have it work when you install via PIP.

Most helpful comment

+1 on this. Although #211 talks about the same problem.

All 3 comments

+1 on this. Although #211 talks about the same problem.

Same for the option cache_path in oauth2.py.

This should be fixed with version 2.5.0, just do:

pip install spotipy --upgrade
Was this page helpful?
0 / 5 - 0 ratings

Related issues

fortyTwo102 picture fortyTwo102  路  4Comments

JessicaMartini212887 picture JessicaMartini212887  路  5Comments

astralmedia picture astralmedia  路  4Comments

IzHoBX picture IzHoBX  路  4Comments

Kurchunk picture Kurchunk  路  3Comments