ok, I bought the "Respeaker 4 Mic Array" but not the V2.0. This one: https://respeaker.io/4_mic_array/
Recording with audacity works as "arecord -Dac108 -f S32_LE -r 16000 -c 4 a.wav" / "aplay a.wav" does. The loudness could be better is there a way to boost it ?
Now I am struggeling with the integration:
A custom wake word is what I want so I ended up withan error while "Source" installation here:
source
ERROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly
Log:
pi@raspi4B:~/mycroft-precise $ sudo ./setup.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version (7.64.0-4+deb10u1).
cython is already the newest version (0.29.2-2).
libatlas-base-dev is already the newest version (3.10.3-8+rpi1).
libhdf5-dev is already the newest version (1.10.4+repack-10).
libopenblas-dev is already the newest version (0.3.5+ds-3+rpi1).
libpulse-dev is already the newest version (12.2-4+deb10u1).
portaudio19-dev is already the newest version (19.6.0-1).
python3-h5py is already the newest version (2.8.0-3).
python3-scipy is already the newest version (1.1.0-7).
swig is already the newest version (3.0.12-2).
python3-pip is already the newest version (18.1-5+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Obtaining file:///home/pi/mycroft-precise/runner
Requirement already satisfied: pyaudio in ./.venv/lib/python3.7/site-packages (from precise-runner==0.3.1) (0.2.11)
Installing collected packages: precise-runner
Attempting uninstall: precise-runner
Found existing installation: precise-runner 0.3.1
Uninstalling precise-runner-0.3.1:
Successfully uninstalled precise-runner-0.3.1
Running setup.py develop for precise-runner
Successfully installed precise-runner
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Obtaining file:///home/pi/mycroft-precise
Collecting numpy==1.16
Using cached https://www.piwheels.org/simple/numpy/numpy-1.16.0-cp37-cp37m-linux_armv7l.whl (7.4 MB)
Collecting tensorflow<1.14,>=1.13
Using cached https://www.piwheels.org/simple/tensorflow/tensorflow-1.13.1-cp37-none-linux_armv7l.whl (93.2 MB)
Collecting sonopy
Using cached https://www.piwheels.org/simple/sonopy/sonopy-0.1.2-py3-none-any.whl (2.9 kB)
Requirement already satisfied: pyaudio in ./.venv/lib/python3.7/site-packages (from mycroft-precise==0.3.0) (0.2.11)
Collecting keras<=2.1.5
Using cached Keras-2.1.5-py2.py3-none-any.whl (334 kB)
Collecting h5py
Using cached https://www.piwheels.org/simple/h5py/h5py-2.10.0-cp37-cp37m-linux_armv7l.whl (4.7 MB)
Collecting wavio
Using cached wavio-0.0.4-py2.py3-none-any.whl (9.0 kB)
Collecting typing
Using cached https://www.piwheels.org/simple/typing/typing-3.7.4.3-py3-none-any.whl (28 kB)
Collecting prettyparse>=1.1.0
Using cached https://www.piwheels.org/simple/prettyparse/prettyparse-1.1.0-py3-none-any.whl (3.7 kB)
Requirement already satisfied: precise-runner in ./runner (from mycroft-precise==0.3.0) (0.3.1)
Collecting attrs
Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting fitipy<1.0
Using cached https://www.piwheels.org/simple/fitipy/fitipy-0.1.2-py3-none-any.whl (1.9 kB)
Collecting speechpy-fast
Using cached https://www.piwheels.org/simple/speechpy-fast/speechpy_fast-2.4-py3-none-any.whl (8.8 kB)
Collecting pyache
Using cached pyache-0.2.0-py3-none-any.whl (7.6 kB)
Collecting tensorflow-estimator<1.15.0rc0,>=1.14.0rc0
Using cached tensorflow_estimator-1.14.0-py2.py3-none-any.whl (488 kB)
Collecting six>=1.10.0
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting tensorboard<1.14.0,>=1.13.0
Using cached tensorboard-1.13.1-py3-none-any.whl (3.2 MB)
Collecting keras-applications>=1.0.8
Using cached Keras_Applications-1.0.8-py3-none-any.whl (50 kB)
Collecting keras-preprocessing>=1.0.5
Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
Collecting termcolor>=1.1.0
Using cached https://www.piwheels.org/simple/termcolor/termcolor-1.1.0-py3-none-any.whl (4.8 kB)
Collecting wrapt>=1.11.1
Using cached https://www.piwheels.org/simple/wrapt/wrapt-1.12.1-cp37-cp37m-linux_armv7l.whl (68 kB)
Collecting gast>=0.2.0
Using cached gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting google-pasta>=0.1.6
Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB)
Collecting astor>=0.6.0
Using cached astor-0.8.1-py2.py3-none-any.whl (27 kB)
Collecting grpcio>=1.8.6
Using cached https://www.piwheels.org/simple/grpcio/grpcio-1.31.0-cp37-cp37m-linux_armv7l.whl (29.8 MB)
Requirement already satisfied: wheel>=0.26 in ./.venv/lib/python3.7/site-packages (from tensorflow<1.14,>=1.13->mycroft-precise==0.3.0) (0.34.2)
Collecting absl-py>=0.7.0
Using cached https://www.piwheels.org/simple/absl-py/absl_py-0.9.0-py3-none-any.whl (121 kB)
Collecting protobuf>=3.6.1
Using cached protobuf-3.12.4-py2.py3-none-any.whl (443 kB)
Collecting scipy
Using cached scipy-1.5.2.tar.gz (25.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting pyyaml
Using cached https://www.piwheels.org/simple/pyyaml/PyYAML-5.3.1-cp37-cp37m-linux_armv7l.whl (44 kB)
Collecting markdown>=2.6.8
Using cached Markdown-3.2.2-py3-none-any.whl (88 kB)
Collecting werkzeug>=0.11.15
Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Requirement already satisfied: setuptools in ./.venv/lib/python3.7/site-packages (from protobuf>=3.6.1->tensorflow<1.14,>=1.13->mycroft-precise==0.3.0) (49.3.1)
Collecting importlib-metadata; python_version < "3.8"
Using cached importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting zipp>=0.5
Using cached zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: scipy
Building wheel for scipy (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /home/pi/mycroft-precise/.venv/bin/python /home/pi/mycroft-precise/.venv/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpznsbqwrx
cwd: /tmp/pip-install-t8aasp1f/scipy
Complete output (696 lines):
lapack_opt_info:
lapack_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/home/pi/mycroft-precise/.venv/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
NOT AVAILABLE
openblas_lapack_info:
customize UnixCCompiler
customize UnixCCompiler
customize UnixCCompiler
C compiler: arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
creating /tmp/tmp16otweue/tmp
creating /tmp/tmp16otweue/tmp/tmp16otweue
compile options: '-c'
arm-linux-gnueabihf-gcc: /tmp/tmp16otweue/source.c
arm-linux-gnueabihf-gcc -pthread /tmp/tmp16otweue/tmp/tmp16otweue/source.o -lopenblas -o /tmp/tmp16otweue/a.out
customize UnixCCompiler
FOUND:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/lib/arm-linux-gnueabihf']
language = c
define_macros = [('HAVE_CBLAS', None)]
FOUND:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/lib/arm-linux-gnueabihf']
language = c
define_macros = [('HAVE_CBLAS', None)]
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/home/pi/mycroft-precise/.venv/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
NOT AVAILABLE
blis_info:
customize UnixCCompiler
libraries blis not found in ['/home/pi/mycroft-precise/.venv/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
NOT AVAILABLE
openblas_info:
customize UnixCCompiler
customize UnixCCompiler
customize UnixCCompiler
FOUND:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/lib/arm-linux-gnueabihf']
language = c
define_macros = [('HAVE_CBLAS', None)]
FOUND:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/lib/arm-linux-gnueabihf']
language = c
define_macros = [('HAVE_CBLAS', None)]
[makenpz] scipy/special/tests/data/boost.npz not rebuilt
[makenpz] scipy/special/tests/data/gsl.npz not rebuilt
[makenpz] scipy/special/tests/data/local.npz not rebuilt
non-existing path in 'scipy/signal/windows': 'tests'
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "mach" sources
building library "quadpack" sources
building library "lsoda" sources
building library "vode" sources
building library "dop" sources
building library "fitpack" sources
building library "fwrappers" sources
building library "odrpack" sources
building library "minpack" sources
building library "rectangular_lsap" sources
building library "rootfind" sources
building library "superlu_src" sources
building library "arpack_scipy" sources
building library "sc_cephes" sources
building library "sc_mach" sources
building library "sc_amos" sources
building library "sc_cdf" sources
building library "sc_specfun" sources
building library "statlib" sources
building extension "scipy.cluster._vq" sources
building extension "scipy.cluster._hierarchy" sources
building extension "scipy.cluster._optimal_leaf_ordering" sources
building extension "scipy.fft._pocketfft.pypocketfft" sources
building extension "scipy.fftpack.convolve" sources
building extension "scipy.integrate._quadpack" sources
building extension "scipy.integrate._odepack" sources
building extension "scipy.integrate.vode" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/integrate/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/integrate' to include_dirs.
adding 'build/src.linux-armv7l-3.7/scipy/integrate/vode-f2pywrappers.f' to sources.
building extension "scipy.integrate.lsoda" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/integrate/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/integrate' to include_dirs.
adding 'build/src.linux-armv7l-3.7/scipy/integrate/lsoda-f2pywrappers.f' to sources.
building extension "scipy.integrate._dop" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/integrate/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/integrate' to include_dirs.
adding 'build/src.linux-armv7l-3.7/scipy/integrate/_dop-f2pywrappers.f' to sources.
building extension "scipy.integrate._test_multivariate" sources
building extension "scipy.integrate._test_odeint_banded" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/integrate/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/integrate' to include_dirs.
adding 'build/src.linux-armv7l-3.7/scipy/integrate/_test_odeint_banded-f2pywrappers.f' to sources.
building extension "scipy.interpolate.interpnd" sources
building extension "scipy.interpolate._ppoly" sources
building extension "scipy.interpolate._bspl" sources
building extension "scipy.interpolate._fitpack" sources
building extension "scipy.interpolate.dfitpack" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/interpolate/src/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/interpolate/src' to include_dirs.
adding 'build/src.linux-armv7l-3.7/scipy/interpolate/src/dfitpack-f2pywrappers.f' to sources.
building extension "scipy.io._test_fortran" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/io/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/io' to include_dirs.
building extension "scipy.io.matlab.streams" sources
building extension "scipy.io.matlab.mio_utils" sources
building extension "scipy.io.matlab.mio5_utils" sources
building extension "scipy.linalg._fblas" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/linalg/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/linalg' to include_dirs.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/linalg/_fblas-f2pywrappers.f' to sources.
building extension "scipy.linalg._flapack" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/linalg/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/linalg' to include_dirs.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/linalg/_flapack-f2pywrappers.f' to sources.
building extension "scipy.linalg._flinalg" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/linalg/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/linalg' to include_dirs.
building extension "scipy.linalg._interpolative" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/linalg/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/linalg' to include_dirs.
building extension "scipy.linalg._solve_toeplitz" sources
building extension "scipy.linalg.cython_blas" sources
building extension "scipy.linalg.cython_lapack" sources
building extension "scipy.linalg._decomp_update" sources
building extension "scipy.odr.__odrpack" sources
building extension "scipy.optimize._minpack" sources
building extension "scipy.optimize._lsap_module" sources
building extension "scipy.optimize._zeros" sources
building extension "scipy.optimize._lbfgsb" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/optimize/lbfgsb_src/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/optimize/lbfgsb_src' to include_dirs.
adding 'build/src.linux-armv7l-3.7/scipy/optimize/lbfgsb_src/_lbfgsb-f2pywrappers.f' to sources.
building extension "scipy.optimize.moduleTNC" sources
building extension "scipy.optimize._cobyla" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/optimize/cobyla/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/optimize/cobyla' to include_dirs.
building extension "scipy.optimize.minpack2" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/optimize/minpack2/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/optimize/minpack2' to include_dirs.
building extension "scipy.optimize._slsqp" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/optimize/slsqp/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/optimize/slsqp' to include_dirs.
building extension "scipy.optimize.__nnls" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/optimize/__nnls/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/optimize/__nnls' to include_dirs.
building extension "scipy.optimize._group_columns" sources
building extension "scipy.optimize._bglu_dense" sources
building extension "scipy.optimize._lsq.givens_elimination" sources
building extension "scipy.optimize._trlib._trlib" sources
building extension "scipy.optimize.cython_optimize._zeros" sources
building extension "scipy.signal.sigtools" sources
building extension "scipy.signal._spectral" sources
building extension "scipy.signal._max_len_seq_inner" sources
building extension "scipy.signal._peak_finding_utils" sources
building extension "scipy.signal._sosfilt" sources
building extension "scipy.signal._upfirdn_apply" sources
building extension "scipy.signal.spline" sources
building extension "scipy.sparse.linalg.isolve._iterative" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/sparse/linalg/isolve/iterative/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/sparse/linalg/isolve/iterative' to include_dirs.
building extension "scipy.sparse.linalg.dsolve._superlu" sources
building extension "scipy.sparse.linalg.eigen.arpack._arpack" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/sparse/linalg/eigen/arpack/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/sparse/linalg/eigen/arpack' to include_dirs.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/sparse/linalg/eigen/arpack/_arpack-f2pywrappers.f' to sources.
building extension "scipy.sparse.csgraph._shortest_path" sources
building extension "scipy.sparse.csgraph._traversal" sources
building extension "scipy.sparse.csgraph._min_spanning_tree" sources
building extension "scipy.sparse.csgraph._matching" sources
building extension "scipy.sparse.csgraph._flow" sources
building extension "scipy.sparse.csgraph._reordering" sources
building extension "scipy.sparse.csgraph._tools" sources
building extension "scipy.sparse._csparsetools" sources
building extension "scipy.sparse._sparsetools" sources
[generate_sparsetools] 'scipy/sparse/sparsetools/bsr_impl.h' already up-to-date
[generate_sparsetools] 'scipy/sparse/sparsetools/csr_impl.h' already up-to-date
[generate_sparsetools] 'scipy/sparse/sparsetools/csc_impl.h' already up-to-date
[generate_sparsetools] 'scipy/sparse/sparsetools/other_impl.h' already up-to-date
[generate_sparsetools] 'scipy/sparse/sparsetools/sparsetools_impl.h' already up-to-date
building extension "scipy.spatial.qhull" sources
building extension "scipy.spatial.ckdtree" sources
building extension "scipy.spatial._distance_wrap" sources
building extension "scipy.spatial._voronoi" sources
building extension "scipy.spatial._hausdorff" sources
building extension "scipy.special.specfun" sources
f2py options: ['--no-wrap-functions']
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/special/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/special' to include_dirs.
building extension "scipy.special._ufuncs" sources
building extension "scipy.special._ufuncs_cxx" sources
building extension "scipy.special._ellip_harm_2" sources
building extension "scipy.special.cython_special" sources
building extension "scipy.special._comb" sources
building extension "scipy.special._test_round" sources
building extension "scipy.stats.statlib" sources
f2py options: ['--no-wrap-functions']
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/stats/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/stats' to include_dirs.
building extension "scipy.stats._stats" sources
building extension "scipy.stats.mvn" sources
f2py options: []
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/stats/fortranobject.c' to sources.
adding 'build/src.linux-armv7l-3.7/build/src.linux-armv7l-3.7/scipy/stats' to include_dirs.
adding 'build/src.linux-armv7l-3.7/scipy/stats/mvn-f2pywrappers.f' to sources.
building extension "scipy.ndimage._nd_image" sources
building extension "scipy.ndimage._ni_label" sources
building extension "scipy.ndimage._ctest" sources
building extension "scipy.ndimage._ctest_oldapi" sources
building extension "scipy.ndimage._cytest" sources
building extension "scipy._lib._ccallback_c" sources
building extension "scipy._lib._test_ccallback" sources
building extension "scipy._lib._fpumode" sources
building extension "scipy._lib.messagestream" sources
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize LaheyFCompiler
Could not locate executable lf95
customize PGroupFCompiler
Could not locate executable pgfortran
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize NAGFCompiler
customize VastFCompiler
customize CompaqFCompiler
Could not locate executable fort
customize IntelItaniumFCompiler
Could not locate executable efort
Could not locate executable efc
customize IntelEM64TFCompiler
customize GnuFCompiler
Could not locate executable g77
customize G95FCompiler
Could not locate executable g95
customize PathScaleFCompiler
Could not locate executable pathf95
customize NAGFORCompiler
Could not locate executable nagfor
don't know how to compile Fortran code on platform 'posix'
C compiler: arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-I/home/pi/mycroft-precise/.venv/include -I/usr/include/python3.7m -c'
arm-linux-gnueabihf-gcc: _configtest.c
arm-linux-gnueabihf-gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
building extension "scipy._lib._test_deprecation_call" sources
building extension "scipy._lib._test_deprecation_def" sources
building extension "scipy._lib._uarray._uarray" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/scipy
copying scipy/__init__.py -> build/lib.linux-armv7l-3.7/scipy
copying scipy/_distributor_init.py -> build/lib.linux-armv7l-3.7/scipy
copying scipy/conftest.py -> build/lib.linux-armv7l-3.7/scipy
copying scipy/version.py -> build/lib.linux-armv7l-3.7/scipy
copying scipy/setup.py -> build/lib.linux-armv7l-3.7/scipy
copying build/src.linux-armv7l-3.7/scipy/__config__.py -> build/lib.linux-armv7l-3.7/scipy
..................
..................
customize UnixCCompiler
customize UnixCCompiler using build_clib
building 'mach' library
Running from SciPy source directory.
/tmp/pip-build-env-3zkfiuu3/overlay/lib/python3.7/site-packages/numpy/distutils/system_info.py:716: UserWarning: Specified path /tmp/pip-build-env-3zkfiuu3/overlay/include/python3.7m is invalid.
return self.get_paths(self.section, key)
/tmp/pip-build-env-3zkfiuu3/overlay/lib/python3.7/site-packages/numpy/distutils/system_info.py:716: UserWarning: Specified path /usr/local/include/python3.7m is invalid.
return self.get_paths(self.section, key)
/tmp/pip-build-env-3zkfiuu3/overlay/lib/python3.7/site-packages/numpy/distutils/system_info.py:716: UserWarning: Specified path /home/pi/mycroft-precise/.venv/include/python3.7m is invalid.
return self.get_paths(self.section, key)
error: library mach has Fortran sources but no Fortran compiler found
----------------------------------------
ERROR: Failed building wheel for scipy
Failed to build scipy
ERROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly
I tried differend things found by google but none of them worked. @JGKK have you been able to setup/train a custom wake word (Raspi4)?
EDIT: Solved by editing the install script "setup.sh" at line:
"if [ ! -x "$VENV/bin/python" ]; then python3 -m venv "$VENV" --without-pip; fi"
to
"if [ ! -x "$VENV/bin/python" ]; then python -m venv "$VENV" --without-pip; fi"
(As a note to the ones who may find this by google)
what a mess with this python 2.x and 3.x they have done....