I'm trying to use the gmusicapi(https://github.com/simon-weber/gmusicapi). However when I try the following line:
from gmusicapi import Webclient
I get the following error message:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/gmusicapi-10.0.2rc1-py2.7.egg/gmusicapi/__init__.py", line 4, in <module>
from gmusicapi.clients import Webclient, Musicmanager, Mobileclient
File "/usr/local/lib/python2.7/dist-packages/gmusicapi-10.0.2rc1-py2.7.egg/gmusicapi/clients/__init__.py", line 2, in <module>
from gmusicapi.clients.webclient import Webclient
File "/usr/local/lib/python2.7/dist-packages/gmusicapi-10.0.2rc1-py2.7.egg/gmusicapi/clients/webclient.py", line 11, in <module>
from gmusicapi.protocol import webclient
File "/usr/local/lib/python2.7/dist-packages/gmusicapi-10.0.2rc1-py2.7.egg/gmusicapi/protocol/webclient.py", line 6, in <module>
from six import raise_from
ImportError: cannot import name raise_from
I'm not sure why I am unable to import raise_from.
I'm running python2.7.6 with six version at 1.5.2
It works fine for me. And I have python 2.7.5.
Try this pip install --upgrade six