Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


[HOW-TO] Spotify Connect Web for Moode
#90
I think the Pip Install have problems

"error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for cffi"

and at the end

"Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-HQyOrh/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-H83xdU-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-HQyOrh/cffi/






Code:
pi@moode:~/spotify/spotify-connect-web $ pip install -r requirements.txt
Collecting cffi>=0.9.2 (from -r requirements.txt (line 1))
 Using cached https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-1.11.5.tar.gz
Collecting Flask==0.11.1 (from -r requirements.txt (line 2))
 Using cached https://files.pythonhosted.org/packages/63/2b/01f5ed23a78391f6e3e73075973da0ecb467c831376a0b09c0ec5afd7977/Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Bootstrap<4.0,>=3.3.2.1 (from -r requirements.txt (line 3))
Collecting Flask-Cors==2.1.2 (from -r requirements.txt (line 4))
Collecting pycparser>=2.10 (from -r requirements.txt (line 5))
 Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.18-py2.py3-none-any.whl
Collecting pyalsaaudio>=0.8 (from -r requirements.txt (line 6))
Collecting gevent>=1.0.1 (from -r requirements.txt (line 7))
Collecting pylast>=1.6.0 (from -r requirements.txt (line 8))
 Using cached https://files.pythonhosted.org/packages/22/57/afc385f67211b5c94cb13e429f2599ca348187a6a5aae1bfa49dbd63278e/pylast-2.3.0-py2.py3-none-any.whl
Collecting itsdangerous>=0.21 (from Flask==0.11.1->-r requirements.txt (line 2))
Collecting click>=2.0 (from Flask==0.11.1->-r requirements.txt (line 2))
 Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl
Collecting Werkzeug>=0.7 (from Flask==0.11.1->-r requirements.txt (line 2))
 Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl
Collecting Jinja2>=2.4 (from Flask==0.11.1->-r requirements.txt (line 2))
 Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
Collecting dominate (from Flask-Bootstrap<4.0,>=3.3.2.1->-r requirements.txt (line 3))
Collecting visitor (from Flask-Bootstrap<4.0,>=3.3.2.1->-r requirements.txt (line 3))
Collecting Six (from Flask-Cors==2.1.2->-r requirements.txt (line 4))
 Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting greenlet>=0.4.13 (from gevent>=1.0.1->-r requirements.txt (line 7))
Collecting MarkupSafe>=0.23 (from Jinja2>=2.4->Flask==0.11.1->-r requirements.txt (line 2))
Building wheels for collected packages: cffi
 Running setup.py bdist_wheel for cffi ... error
 Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-HQyOrh/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpwQX5oVpip-wheel- --python-tag cp27:
 Package libffi was not found in the pkg-config search path.
 Perhaps you should add the directory containing `libffi.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'libffi' found
 Package libffi was not found in the pkg-config search path.
 Perhaps you should add the directory containing `libffi.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'libffi' found
 Package libffi was not found in the pkg-config search path.
 Perhaps you should add the directory containing `libffi.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'libffi' found
 Package libffi was not found in the pkg-config search path.
 Perhaps you should add the directory containing `libffi.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'libffi' found
 Package libffi was not found in the pkg-config search path.
 Perhaps you should add the directory containing `libffi.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'libffi' found
 running bdist_wheel
 running build
 running build_py
 creating build
 creating build/lib.linux-armv7l-2.7
 creating build/lib.linux-armv7l-2.7/cffi
 copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
 copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-2.7/cffi
 running build_ext
 building '_cffi_backend' extension
 creating build/temp.linux-armv7l-2.7
 creating build/temp.linux-armv7l-2.7/c
 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-kKRR4y/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
 c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
  #include <ffi.h>
                  ^
 compilation terminated.
 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
 
 ----------------------------------------
 Failed building wheel for cffi
 Running setup.py clean for cffi
Failed to build cffi
Installing collected packages: pycparser, cffi, itsdangerous, click, Werkzeug, MarkupSafe, Jinja2, Flask, dominate, visitor, Flask-Bootstrap, Six, Flask-Cors, pyalsaaudio, greenlet, gevent, pylast
 Running setup.py install for cffi ... error
   Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-HQyOrh/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-H83xdU-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
   Package libffi was not found in the pkg-config search path.
   Perhaps you should add the directory containing `libffi.pc'
   to the PKG_CONFIG_PATH environment variable
   No package 'libffi' found
   Package libffi was not found in the pkg-config search path.
   Perhaps you should add the directory containing `libffi.pc'
   to the PKG_CONFIG_PATH environment variable
   No package 'libffi' found
   Package libffi was not found in the pkg-config search path.
   Perhaps you should add the directory containing `libffi.pc'
   to the PKG_CONFIG_PATH environment variable
   No package 'libffi' found
   Package libffi was not found in the pkg-config search path.
   Perhaps you should add the directory containing `libffi.pc'
   to the PKG_CONFIG_PATH environment variable
   No package 'libffi' found
   Package libffi was not found in the pkg-config search path.
   Perhaps you should add the directory containing `libffi.pc'
   to the PKG_CONFIG_PATH environment variable
   No package 'libffi' found
   running install
   running build
   running build_py
   creating build
   creating build/lib.linux-armv7l-2.7
   creating build/lib.linux-armv7l-2.7/cffi
   copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
   copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-2.7/cffi
   running build_ext
   building '_cffi_backend' extension
   creating build/temp.linux-armv7l-2.7
   creating build/temp.linux-armv7l-2.7/c
   arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-kKRR4y/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
   c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
    #include <ffi.h>
                    ^
   compilation terminated.
   error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
   
   ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-HQyOrh/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-H83xdU-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-HQyOrh/cffi/
pi@moode:~/spotify/spotify-connect-web $
Reply


Messages In This Thread
RE: Spotify Connect for Moode - by Tim Curtis - 04-06-2018, 07:34 PM
RE: Spotify Connect for Moode - by RafaPolit - 04-07-2018, 05:30 AM
RE: Spotify Connect for Moode - by deafnut - 04-07-2018, 08:01 PM
RE: Spotify Connect for Moode - by RafaPolit - 04-08-2018, 05:28 AM
RE: Spotify Connect for Moode - by gabmartini - 04-09-2018, 02:08 AM
RE: Spotify Connect for Moode - by pinkdot - 04-09-2018, 04:58 PM
RE: Spotify Connect for Moode - by airdronian - 04-17-2018, 09:01 PM
RE: Spotify Connect for Moode - by Tim Curtis - 04-09-2018, 02:18 AM
RE: Spotify Connect for Moode - by franz159 - 04-11-2018, 04:43 AM
RE: Spotify Connect for Moode - by JonPike - 05-03-2018, 01:59 AM
RE: Spotify Connect for Moode - by RafaPolit - 04-11-2018, 05:43 AM
RE: Spotify Connect for Moode - by jonners - 04-11-2018, 07:39 AM
RE: Spotify Connect for Moode - by gabmartini - 04-13-2018, 11:33 PM
RE: Spotify Connect for Moode - by pinkdot - 04-14-2018, 08:10 AM
RE: Spotify Connect for Moode - by Tim Curtis - 04-14-2018, 12:14 PM
RE: Spotify Connect for Moode - by RafaPolit - 04-17-2018, 10:10 PM
RE: Spotify Connect for Moode - by airdronian - 04-17-2018, 11:31 PM
RE: Spotify Connect for Moode - by gabmartini - 04-17-2018, 11:50 PM
RE: Spotify Connect for Moode - by airdronian - 04-18-2018, 12:13 AM
RE: Spotify Connect for Moode - by airdronian - 04-19-2018, 05:34 PM
RE: Spotify Connect for Moode - by Onionhead - 04-23-2018, 01:40 AM
RE: Spotify Connect for Moode - by pinkdot - 04-23-2018, 05:50 AM
RE: Spotify Connect for Moode - by RafaPolit - 04-23-2018, 06:18 PM
RE: Spotify Connect for Moode - by Onionhead - 04-23-2018, 06:35 PM
RE: Spotify Connect for Moode - by gabmartini - 04-27-2018, 11:31 PM
RE: Spotify Connect for Moode - by pinkdot - 04-28-2018, 07:48 AM
RE: Spotify Connect for Moode - by grasshopper - 04-29-2018, 10:26 AM
RE: Spotify Connect for Moode - by JonPike - 05-03-2018, 03:05 AM
RE: Spotify Connect for Moode - by grasshopper - 05-03-2018, 07:08 PM
RE: Spotify Connect for Moode - by JonPike - 05-16-2018, 01:33 AM
RE: Spotify Connect for Moode - by grasshopper - 05-17-2018, 07:00 PM
RE: Spotify Connect for Moode - by Me2018 - 01-22-2019, 02:40 PM
RE: Spotify Connect for Moode - by npetra - 08-28-2019, 05:18 PM
RE: Spotify Connect for Moode - by grasshopper - 01-17-2019, 12:00 PM
RE: Spotify Connect for Moode - by grasshopper - 04-29-2018, 10:38 AM
RE: Spotify Connect for Moode - by RafaPolit - 04-29-2018, 10:53 AM
RE: Spotify Connect for Moode - by aBrianH - 04-30-2018, 10:11 AM
RE: Spotify Connect for Moode - by RafaPolit - 05-01-2018, 03:59 AM
RE: Spotify Connect for Moode - by gabmartini - 05-02-2018, 03:43 AM
RE: Spotify Connect for Moode - by grasshopper - 05-02-2018, 06:11 PM
RE: Spotify Connect for Moode - by RafaPolit - 05-12-2018, 12:53 AM
RE: Spotify Connect for Moode - by Tim Curtis - 05-12-2018, 12:52 PM
RE: [HOW-TO] Spotify Connect Web for Moode - by kostis - 07-17-2018, 07:02 AM
Error when Spotify Connect Web - by IT-Andy52 - 09-06-2019, 08:54 AM
RE: Error when Spotify Connect Web - by RafaPolit - 09-25-2019, 07:39 PM

Forum Jump: