Hallo Ich habe Probleme bei der Installation pyspotify
. Ich denke, dass ich die Header Entwicklung installiert haben und libffi
Paket, aber ich bin immer noch Fehler bekommen, hier ist das, was passiert, wenn ich versuche, und installieren Sie es pip mit:Fehler bei der Installation von pyspotify
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pyspotify.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'examples/tmp'
warning: no previously-included files matching '__pycache__/*' found anywhere in distribution
writing manifest file 'pyspotify.egg-info/SOURCES.txt'
copying spotify/api.h -> build/lib.linux-armv7l-3.4/spotify
copying spotify/api.processed.h -> build/lib.linux-armv7l-3.4/spotify
running build_ext
generating cffi module 'build/temp.linux-armv7l-3.4/spotify._spotify.c'
creating build/temp.linux-armv7l-3.4
building 'spotify._spotify' extension
creating build/temp.linux-armv7l-3.4/build
creating build/temp.linux-armv7l-3.4/build/temp.linux-armv7l-3.4
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-armv7l-3.4/spotify._spotify.c -o build/temp.linux-armv7l-3.4/build/temp.linux-armv7l-3.4/spotify._spotify.o
build/temp.linux-armv7l-3.4/spotify._spotify.c:422:28: fatal error: libspotify/api.h: No such file or directory
#include "libspotify/api.h"
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-f_0drg24/pyspotify/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-dn3q3awz-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-f_0drg24/pyspotify/
Dank Ich könnte versuchen, dass ich nicht, dass vorgeschlagen, irgendwo anders so wusste nicht, es zu versuchen, wissen Sie, ob die Entwicklung Header Python 2 oder 3 spezifisch sind? –
Installation des Python-Spotify-Debian-Pakets ist dokumentiert unter https://pyspotify.mopidy.com/en/latest/installation/#debian-ubuntu-install-from-apt-mopidy-com Installation der Entwicklungs-Header ist dokumentiert unter https://pyspotify.mopidy.com/en/latest/installation/#libspotify Die Entwicklungs-Header sind C und nicht mit Python überhaupt verwandt. – jodal