spacepaste

  1.  
  2. ubuntu@ip-10-137-27-87:~$ sudo pip install git+git://github.com/mopidy/pyspotify.git
  3. Downloading/unpacking git+git://github.com/mopidy/pyspotify.git
  4. Cloning git://github.com/mopidy/pyspotify.git to /tmp/pip-dizh_o-build
  5. Running setup.py egg_info for package from git+git://github.com/mopidy/pyspotify.git
  6. spotify/__pycache__/_cffi__x3868ddbbx77caf6c5.c:156:28: fatal error: libspotify/api.h: No such file or directory
  7. compilation terminated.
  8. Traceback (most recent call last):
  9. File "<string>", line 14, in <module>
  10. File "/tmp/pip-dizh_o-build/setup.py", line 8, in <module>
  11. import spotify
  12. File "spotify/__init__.py", line 53, in <module>
  13. ext_package='spotify')
  14. File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 339, in verify
  15. lib = self.verifier.load_library()
  16. File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 74, in load_library
  17. self._compile_module()
  18. File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 139, in _compile_module
  19. outputfilename = ffiplatform.compile(tmpdir, self.get_extension())
  20. File "/usr/local/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 25, in compile
  21. outputfilename = _build(tmpdir, ext)
  22. File "/usr/local/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 50, in _build
  23. raise VerificationError('%s: %s' % (e.__class__.__name__, e))
  24. cffi.ffiplatform.VerificationError: CompileError: command 'gcc' failed with exit status 1
  25. Complete output from command python setup.py egg_info:
  26. spotify/__pycache__/_cffi__x3868ddbbx77caf6c5.c:156:28: fatal error: libspotify/api.h: No such file or directory
  27. compilation terminated.
  28. Traceback (most recent call last):
  29. File "<string>", line 14, in <module>
  30. File "/tmp/pip-dizh_o-build/setup.py", line 8, in <module>
  31. import spotify
  32. File "spotify/__init__.py", line 53, in <module>
  33. ext_package='spotify')
  34. File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 339, in verify
  35. lib = self.verifier.load_library()
  36. File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 74, in load_library
  37. self._compile_module()
  38. File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 139, in _compile_module
  39. outputfilename = ffiplatform.compile(tmpdir, self.get_extension())
  40. File "/usr/local/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 25, in compile
  41. outputfilename = _build(tmpdir, ext)
  42. File "/usr/local/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 50, in _build
  43. raise VerificationError('%s: %s' % (e.__class__.__name__, e))
  44. cffi.ffiplatform.VerificationError: CompileError: command 'gcc' failed with exit status 1
  45. ----------------------------------------
  46. Command python setup.py egg_info failed with error code 1
  47. Storing complete log in /home/ubuntu/.pip/pip.log
  48.