I’m having problems install the gmusic extension for Mopidy. Here’s what I try:
pi@raspberrypi ~ $ pip --version
pip 1.1 from /usr/lib/python2.7/dist-packages (python 2.7)
pi@raspberrypi ~ $ sudo pip install mopidy-gmusic
Collecting mopidy-gmusic
Using cached Mopidy_GMusic-1.0.0-py2.py3-none-any.whl
Collecting requests>=2.0 (from mopidy-gmusic)
Using cached requests-2.8.1-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python3/dist-packages (from mopidy-gmusic)
Collecting Pykka>=1.1 (from mopidy-gmusic)
Using cached Pykka-1.2.1-py2.py3-none-any.whl
Collecting Mopidy>=1.0 (from mopidy-gmusic)
Using cached Mopidy-1.1.1-py2.py3-none-any.whl
Collecting gmusicapi>=6.0 (from mopidy-gmusic)
Using cached gmusicapi-7.0.0.tar.gz
Collecting tornado>=2.3 (from Mopidy>=1.0->mopidy-gmusic)
Using cached tornado-4.3.tar.gz
Collecting validictory!=0.9.2,>=0.8.0 (from gmusicapi>=6.0->mopidy-gmusic)
Using cached validictory-1.0.1-py2.py3-none-any.whl
Collecting decorator>=3.3.1 (from gmusicapi>=6.0->mopidy-gmusic)
Using cached decorator-4.0.4-py2.py3-none-any.whl
Collecting mutagen>=1.18 (from gmusicapi>=6.0->mopidy-gmusic)
Using cached mutagen-1.31.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-0mhjjl/mutagen/setup.py", line 222, in <module>
from mutagen import version_string
File "mutagen/__init__.py", line 23, in <module>
from mutagen._util import MutagenError
File "mutagen/_util.py", line 452
if c == u"\x00":
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-0mhjjl/mutagen
Is this the right version of pip? I’m using a Raspberry Pi 2 with Raspbian Wheezy installed.