-
- ubuntu@ip-10-137-27-87:~$ sudo pip install git+git://github.com/mopidy/pyspotify.git
- Downloading/unpacking git+git://github.com/mopidy/pyspotify.git
- Cloning git://github.com/mopidy/pyspotify.git to /tmp/pip-dizh_o-build
- Running setup.py egg_info for package from git+git://github.com/mopidy/pyspotify.git
- spotify/__pycache__/_cffi__x3868ddbbx77caf6c5.c:156:28: fatal error: libspotify/api.h: No such file or directory
- compilation terminated.
- Traceback (most recent call last):
- File "<string>", line 14, in <module>
- File "/tmp/pip-dizh_o-build/setup.py", line 8, in <module>
- import spotify
- File "spotify/__init__.py", line 53, in <module>
- ext_package='spotify')
- File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 339, in verify
- lib = self.verifier.load_library()
- File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 74, in load_library
- self._compile_module()
- File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 139, in _compile_module
- outputfilename = ffiplatform.compile(tmpdir, self.get_extension())
- File "/usr/local/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 25, in compile
- outputfilename = _build(tmpdir, ext)
- File "/usr/local/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 50, in _build
- raise VerificationError('%s: %s' % (e.__class__.__name__, e))
- cffi.ffiplatform.VerificationError: CompileError: command 'gcc' failed with exit status 1
- Complete output from command python setup.py egg_info:
- spotify/__pycache__/_cffi__x3868ddbbx77caf6c5.c:156:28: fatal error: libspotify/api.h: No such file or directory
-
- compilation terminated.
-
- Traceback (most recent call last):
-
- File "<string>", line 14, in <module>
-
- File "/tmp/pip-dizh_o-build/setup.py", line 8, in <module>
-
- import spotify
-
- File "spotify/__init__.py", line 53, in <module>
-
- ext_package='spotify')
-
- File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 339, in verify
-
- lib = self.verifier.load_library()
-
- File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 74, in load_library
-
- self._compile_module()
-
- File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 139, in _compile_module
-
- outputfilename = ffiplatform.compile(tmpdir, self.get_extension())
-
- File "/usr/local/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 25, in compile
-
- outputfilename = _build(tmpdir, ext)
-
- File "/usr/local/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 50, in _build
-
- raise VerificationError('%s: %s' % (e.__class__.__name__, e))
-
- cffi.ffiplatform.VerificationError: CompileError: command 'gcc' failed with exit status 1
-
- ----------------------------------------
- Command python setup.py egg_info failed with error code 1
- Storing complete log in /home/ubuntu/.pip/pip.log
-