Problème d'installation avec la mise à jour 20220803

Bonjour,

J’avais lancé l’installation des dépendances dans la version précédente et c’était bon après 2 jours. Or je viens de voir qu’il y a eu une mise à jour du plugin, j’ai aussitôt refait l’installation des dépendances. Par contre là ça marche moins bien. Par exemple, le paquet nvidia-opencl-dev n’existe pas, je suis sur la distrib Debian Buster.

0017|+ sudo apt install -o Dpkg::Options::=--force-confdef -y nvidia-opencl-dev
0018|sudo: unable to resolve host jeedom: Name or service not known
0019|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0020|Reading package lists...
0021|Building dependency tree...
0022|Reading state information...
0023|E: Unable to locate package nvidia-opencl-dev

J’ai eu aussi une erreur car il me manquait le paquet cmake que j’ai installé manuellement :

0468|ERROR: CMake must be installed to build dlib

Sinon j’ai un problème d’installation de scipy :

0036|+ sudo pip3 install --force-reinstall --upgrade scipy
0037|Collecting scipy
0038|Using cached scipy-1.7.3.tar.gz (36.1 MB)
0039|Installing build dependencies: started
0040|Installing build dependencies: still running...
0041|Installing build dependencies: still running...
0042|Installing build dependencies: finished with status 'done'
0043|Getting requirements to build wheel: started
0044|Getting requirements to build wheel: finished with status 'done'
0045|Preparing metadata (pyproject.toml): started
0046|Preparing metadata (pyproject.toml): still running...
0047|Preparing metadata (pyproject.toml): still running...
0048|Preparing metadata (pyproject.toml): still running...
0049|Preparing metadata (pyproject.toml): still running...
0050|Preparing metadata (pyproject.toml): still running...
0051|Preparing metadata (pyproject.toml): still running...
0052|Preparing metadata (pyproject.toml): still running...
0053|Preparing metadata (pyproject.toml): still running...
0054|Preparing metadata (pyproject.toml): still running...
0055|Preparing metadata (pyproject.toml): still running...
0056|Preparing metadata (pyproject.toml): still running...
0057|Preparing metadata (pyproject.toml): still running...
0058|Preparing metadata (pyproject.toml): still running...
0059|Preparing metadata (pyproject.toml): still running...
0060|Preparing metadata (pyproject.toml): still running...
0061|Preparing metadata (pyproject.toml): still running...
0062|Preparing metadata (pyproject.toml): still running...
0063|Preparing metadata (pyproject.toml): still running...
0064|Preparing metadata (pyproject.toml): still running...
0065|Preparing metadata (pyproject.toml): finished with status 'error'
0066|error: subprocess-exited-with-error
0067|× Preparing metadata (pyproject.toml) did not run successfully.
0068|│ exit code: 1
0069|╰─> [333 lines of output]
0070|Running scipy/special/_generate_pyx.py
0071|Running scipy/stats/_generate_pyx.py
0072|Running scipy/linalg/_generate_pyx.py
0073|Processing scipy/spatial/qhull.pyx
0074|Processing scipy/spatial/ckdtree.pyx
0075|Processing scipy/spatial/_hausdorff.pyx
0076|Processing scipy/spatial/_voronoi.pyx
0077|Processing scipy/spatial/transform/rotation.pyx
0078|Processing scipy/io/matlab/streams.pyx
0079|Processing scipy/io/matlab/mio_utils.pyx
0080|Processing scipy/io/matlab/mio5_utils.pyx
0081|Processing scipy/signal/_max_len_seq_inner.pyx
0082|Processing scipy/signal/_spectral.pyx
0083|Processing scipy/signal/_peak_finding_utils.pyx
0084|Processing scipy/signal/_sosfilt.pyx
0085|Processing scipy/signal/_upfirdn_apply.pyx
0086|Processing scipy/optimize/_bglu_dense.pyx
0087|Processing scipy/optimize/_group_columns.pyx
0088|Processing scipy/optimize/cython_optimize/_zeros.pyx.in
0089|Processing scipy/optimize/_highs/cython/src/_highs_wrapper.pyx
0090|Processing scipy/optimize/_highs/cython/src/_highs_constants.pyx
0091|Processing scipy/optimize/_lsq/givens_elimination.pyx
0092|Processing scipy/optimize/_trlib/_trlib.pyx
0093|Processing scipy/special/_test_round.pyx
0094|Processing scipy/special/_ellip_harm_2.pyx
0095|Processing scipy/special/_ufuncs.pyx
0096|Processing scipy/special/_ufuncs_cxx.pyx
0097|Processing scipy/special/cython_special.pyx
0098|Processing scipy/special/_comb.pyx
0099|Processing scipy/cluster/_vq.pyx
0100|Processing scipy/cluster/_hierarchy.pyx
0101|Processing scipy/cluster/_optimal_leaf_ordering.pyx
0102|Processing scipy/stats/biasedurn.pyx
0103|Processing scipy/stats/_stats.pyx
0104|Processing scipy/stats/_qmc_cy.pyx
0105|warning: _cython_special_custom.pxi:9:8: Unreachable code
0106|warning: _cython_special_custom.pxi:13:4: Unreachable code
0107|warning: _cython_special_custom.pxi:21:8: Unreachable code
0108|warning: _cython_special_custom.pxi:25:4: Unreachable code
0109|warning: _cython_special_custom.pxi:33:8: Unreachable code
0110|warning: _cython_special_custom.pxi:37:4: Unreachable code
0111|warning: _cython_special_custom.pxi:45:8: Unreachable code
0112|warning: _cython_special_custom.pxi:49:4: Unreachable code
0113|Processing scipy/stats/_sobol.pyx
0114|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0115|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0116|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0117|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0118|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0119|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0120|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0121|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0122|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0123|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0124|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0125|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0126|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0127|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0128|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0129|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0130|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0131|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0132|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0133|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0134|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0135|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0136|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0137|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0138|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0139|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0140|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0141|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0142|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0143|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0144|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0145|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0146|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0147|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0148|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0149|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0150|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0151|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0152|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0153|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0154|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0155|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0156|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0157|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0158|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0159|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0160|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0161|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0162|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0163|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0164|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0165|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0166|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0167|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0168|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0169|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0170|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0171|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0172|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0173|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0174|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0175|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0176|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0177|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0178|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0179|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0180|Processing scipy/stats/_boost/src/binom_ufunc.pyx
0181|Processing scipy/stats/_boost/src/nbinom_ufunc.pyx
0182|Processing scipy/stats/_boost/src/beta_ufunc.pyx
0183|Processing scipy/sparse/_csparsetools.pyx.in
0184|Processing scipy/sparse/csgraph/_traversal.pyx
0185|Processing scipy/sparse/csgraph/_shortest_path.pyx
0186|Processing scipy/sparse/csgraph/_min_spanning_tree.pyx
0187|Processing scipy/sparse/csgraph/_flow.pyx
0188|Processing scipy/sparse/csgraph/_reordering.pyx
0189|Processing scipy/sparse/csgraph/_matching.pyx
0190|Processing scipy/sparse/csgraph/_tools.pyx
0191|Processing scipy/interpolate/interpnd.pyx
0192|Processing scipy/interpolate/_bspl.pyx
0193|Processing scipy/interpolate/_ppoly.pyx
0194|Processing scipy/ndimage/src/_ni_label.pyx
0195|Processing scipy/ndimage/src/_cytest.pyx
0196|Processing scipy/linalg/cython_lapack.pyx
0197|Processing scipy/linalg/cython_blas.pyx
0198|Processing scipy/linalg/_matfuncs_sqrtm_triu.pyx
0199|Processing scipy/linalg/_decomp_update.pyx.in
0200|Processing scipy/linalg/_solve_toeplitz.pyx
0201|Processing scipy/fftpack/convolve.pyx
0202|Processing scipy/_lib/messagestream.pyx
0203|Processing scipy/_lib/_test_deprecation_call.pyx
0204|Processing scipy/_lib/_test_deprecation_def.pyx
0205|Processing scipy/_lib/_ccallback_c.pyx
0206|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0207|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0208|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0209|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0210|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0211|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0212|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0213|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0214|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0215|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0216|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0217|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0218|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0219|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0220|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0221|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0222|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0223|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0224|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0225|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0226|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0227|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0228|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0229|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0230|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0231|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0232|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0233|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0234|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0235|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0236|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0237|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0238|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0239|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0240|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0241|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0242|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0243|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0244|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0245|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0246|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0247|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0248|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0249|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0250|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0251|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0252|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0253|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0254|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0255|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0256|/tmp/pip-install-vt4bh6x2/scipy_edabfee9ca374dea91764dd226be8cbd/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0257|if LooseVersion(cython_version) < LooseVersion(min_required_version):
0258|Cythonizing sources
0259|lapack_opt_info:
0260|lapack_mkl_info:
0261|customize UnixCCompiler
0262|libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
0263|NOT AVAILABLE
0264|openblas_lapack_info:
0265|customize UnixCCompiler
0266|customize UnixCCompiler
0267|libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
0268|NOT AVAILABLE
0269|openblas_clapack_info:
0270|customize UnixCCompiler
0271|customize UnixCCompiler
0272|libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
0273|NOT AVAILABLE
0274|atlas_3_10_threads_info:
0275|Setting PTATLAS=ATLAS
0276|customize UnixCCompiler
0277|libraries lapack_atlas not found in /usr/local/lib
0278|customize UnixCCompiler
0279|libraries tatlas,tatlas not found in /usr/local/lib
0280|customize UnixCCompiler
0281|libraries lapack_atlas not found in /usr/lib
0282|customize UnixCCompiler
0283|libraries tatlas,tatlas not found in /usr/lib
0284|customize UnixCCompiler
0285|libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
0286|customize UnixCCompiler
0287|libraries tatlas,tatlas not found in /usr/lib/arm-linux-gnueabihf
0288|
0289|NOT AVAILABLE
0290|atlas_3_10_info:
0291|customize UnixCCompiler
0292|libraries lapack_atlas not found in /usr/local/lib
0293|customize UnixCCompiler
0294|libraries satlas,satlas not found in /usr/local/lib
0295|customize UnixCCompiler
0296|libraries lapack_atlas not found in /usr/lib
0297|customize UnixCCompiler
0298|libraries satlas,satlas not found in /usr/lib
0299|customize UnixCCompiler
0300|libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
0301|customize UnixCCompiler
0302|libraries satlas,satlas not found in /usr/lib/arm-linux-gnueabihf
0303|
0304|NOT AVAILABLE
0305|atlas_threads_info:
0306|Setting PTATLAS=ATLAS
0307|customize UnixCCompiler
0308|libraries lapack_atlas not found in /usr/local/lib
0309|customize UnixCCompiler
0310|libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
0311|customize UnixCCompiler
0312|libraries lapack_atlas not found in /usr/lib
0313|customize UnixCCompiler
0314|libraries ptf77blas,ptcblas,atlas not found in /usr/lib
0315|customize UnixCCompiler
0316|libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
0317|customize UnixCCompiler
0318|libraries ptf77blas,ptcblas,atlas not found in /usr/lib/arm-linux-gnueabihf
0319|
0320|NOT AVAILABLE
0321|atlas_info:
0322|customize UnixCCompiler
0323|libraries lapack_atlas not found in /usr/local/lib
0324|customize UnixCCompiler
0325|libraries f77blas,cblas,atlas not found in /usr/local/lib
0326|customize UnixCCompiler
0327|libraries lapack_atlas not found in /usr/lib
0328|customize UnixCCompiler
0329|libraries f77blas,cblas,atlas not found in /usr/lib
0330|customize UnixCCompiler
0331|libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
0332|customize UnixCCompiler
0333|libraries f77blas,cblas,atlas not found in /usr/lib/arm-linux-gnueabihf
0334|
0335|NOT AVAILABLE
0336|accelerate_info:
0337|NOT AVAILABLE
0338|lapack_info:
0339|customize UnixCCompiler
0340|libraries lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
0341|NOT AVAILABLE
0342|lapack_src_info:
0343|NOT AVAILABLE
0344|NOT AVAILABLE
0345|setup.py:493: UserWarning: Unrecognized setuptools command ('dist_info --egg-base /tmp/pip-modern-metadata-3cegh53b'), proceeding with generating Cython sources and expanding templates
0346|' '.join(sys.argv[1:])))
0347|Running from SciPy source directory.
0348|setup.py:245: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
0349|if LooseVersion(pythran.__version__) < LooseVersion('0.9.11'):
0350|/usr/local/lib/python3.7/dist-packages/setuptools/config/_apply_pyprojecttoml.py:196: UserWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
0351|warnings.warn(msg)
0352|/tmp/pip-build-env-xor12__m/overlay/lib/python3.7/site-packages/numpy/distutils/system_info.py:639: UserWarning:
0353|Atlas (http://math-atlas.sourceforge.net/) libraries not found.
0354|Directories to search for the libraries can be specified in the
0355|numpy/distutils/site.cfg file (section [atlas]) or by setting
0356|the ATLAS environment variable.
0357|self.calc_info()
0358|/tmp/pip-build-env-xor12__m/overlay/lib/python3.7/site-packages/numpy/distutils/system_info.py:639: UserWarning:
0359|Lapack (http://www.netlib.org/lapack/) libraries not found.
0360|Directories to search for the libraries can be specified in the
0361|numpy/distutils/site.cfg file (section [lapack]) or by setting
0362|the LAPACK environment variable.
0363|self.calc_info()
0364|/tmp/pip-build-env-xor12__m/overlay/lib/python3.7/site-packages/numpy/distutils/system_info.py:639: UserWarning:
0365|Lapack (http://www.netlib.org/lapack/) sources not found.
0366|Directories to search for the sources can be specified in the
0367|numpy/distutils/site.cfg file (section [lapack_src]) or by setting
0368|the LAPACK_SRC environment variable.
0369|self.calc_info()
0370|Traceback (most recent call last):
0371|File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in 
0372|main()
0373|File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
0374|json_out['return_val'] = hook(**hook_input['kwargs'])
0375|File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
0376|return hook(metadata_directory, config_settings)
0377|File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 188, in prepare_metadata_for_build_wheel
0378|self.run_setup()
0379|File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 282, in run_setup
0380|self).run_setup(setup_script=setup_script)
0381|File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 174, in run_setup
0382|exec(code, locals())
0383|File "", line 631, in 
0384|File "", line 627, in setup_package
0385|File "/tmp/pip-build-env-xor12__m/overlay/lib/python3.7/site-packages/numpy/distutils/core.py", line 137, in setup
0386|config = configuration()
0387|File "", line 529, in configuration
0388|numpy.distutils.system_info.NotFoundError: No BLAS/LAPACK libraries found.
0389|To build Scipy from sources, BLAS & LAPACK libraries need to be installed.
0390|See site.cfg.example in the Scipy source directory and
0391|https://docs.scipy.org/doc/scipy/reference/building/index.html for details.
0392|[end of output]
0393|note: This error originates from a subprocess, and is likely not a problem with pip.
0394|error: metadata-generation-failed
0395|× Encountered error while generating package metadata.
0396|╰─> See above for output.
0397|note: This is an issue with the package mentioned above, not pip.
0398|hint: See above for details.

Ca continue d’installer malgré le problème…

Par la suite est-ce qu’il y a moyen d’éviter le force-reinstall dans le pip3 ? J’ai tenté ‹ « reinstall » : false › dans le packages.json, sans succès. Ca m’évitera de relancer l’installation des modules déjà présents, c’est lourd sur mon raspberry O:-)

Il n’est pas obligatoire ce packet faut que je regarde comment le déclarer a jeedom
C’est étrange il s’installe chez moi

Ok je le rejouterai

Je vais faire un trié je les avais ajouter pour cette migration pour être sûr des version récente qui pose des problème chez certains

Voici mes dépôts :

deb http://deb.debian.org/debian buster main non-free
deb http://security.debian.org/debian-security buster/updates main non-free
deb http://deb.debian.org/debian buster-updates main non-free

Bon ça plante à nouveau par manque de dépendances :

0459|The headers or library files could not be found for zlib,
0459|The headers or library files could not be found for jpeg,

Je vais relancer avec l’installation de la librairie zlib1g-dev et libjpeg-dev…

C’est du raspbian y a peut-être des packet d’installer en moins

Bonjour,
Je viens d’installer le plugin il y a 3 jours… environ 10h d’installation !
Matériel : PI4B 2GO de Ram sous debian 10.12 et jeedom 4.2.20.
J’avais réussi à avoir le démon et les dépendances ok, mais je n’avais pas réussi à déclencher des reconnaissances (surement des paramètres à régler).
J’ai aussi fait la mise à jour et j’ai aussi les dépendances NOK.
logs en fichier joint car très bavards!
facerecognition_packages.txt (296,3 Ko)

J’ai redémarré Jeedom, mais toujours NOK

Et rebelotte :

Optimized (vendor) Blas libraries are not found.

Du coup, installation de libblas-dev et relance des dépendances…

Tu as eu le même type d’erreur que moi :

CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

Il manque cmake, ce sera ajouté dans une prochaine mise à jour. Il devrait en manquer d’autres, du coup il faut patienter, sinon faire comme moi et identifier petit à petit les modules manquants après chaque échec.

oui, j’ai vu tes remarques… je n’ai pas les connaissances pour faire ça :sweat_smile: .
je vais sagement attendre et essayer de comprendre ce qui est dit :nerd_face:
bravo @mika-nt28 pour le travail!

Ce n’est pas une erreur ça.
Normalement un packet doit installer toutes ses dépendances au autres

par rapport à la version d’avant, l’installation se fait « rapidement »… avec la mise à jour, en 1h30-2h c’est installé (nok) alors qu’avant c’était 10h d’installation des dépendances chez moi. le log faisait au moins 15000 lignes. si ça peut être une piste.

1 « J'aime »

Bonjour
C’est bien le but d’utiliser les package qui normalement sont precompile.

Ce que je ne comprends pas c’est que si les dépendances était déjà installé il y a rien de nouveau.
J’ai enlevé le réinstallé pour ne pas forcer les mise à jour inutile

Finalement ce n’est pas le paquet libblas-dev mais libopenblas-dev.

Il manquait aussi le paquet liblapack-dev :

Lapack (http://www.netlib.org/lapack/) libraries not found

Par contre, impossible d’installer la dernière version de numpy sur les Raspberry :

numpy/core/src/umath/loops_trigonometric.dispatch.c.src:202:20: internal compiler error: in convert_move, at expr.c:218

Le souci semble connu https://github.com/numpy/numpy/issues/21038, problème avec Raspberry, Buster et Python 3.7. De plus, la dernière version de numpy demande Python 3.8 (numpy · PyPI), il faudra se contenter d’une version inférieure à 1.21.5.

Bref, j’ai ajouté le dépôt piwheels à pip qui permet de récupérer les binaires pré-compilées des modules Python sur nos Raspberry (https://www.piwheels.org/) :

cat << '_EOF_' > /etc/pip.conf
[global]
extra-index-url=https://www.piwheels.org/simple/

[install]
constraint=/etc/pip-constraints.txt
_EOF_
echo "numpy<1.21.5; python_version=='3.7'" > /etc/pip-constraints.txt

Installation des dépendances en cours…

question bête… comment tu rajoutes ça? en SSH ou sur un fichier d’installation des dépendances?

as-tu réussi?

Oui en SSH :wink:

J’ai eu d’autres soucis entre temps dans la compilation des dépendances, en voici quelques un :

libf77blas.so.3: cannot open shared file: no such file or directory
et
CMake was unable to find a build program corresponding to "Ninja".

Pour ça, j’ai installé les paquets libatlas-base-dev et ninja-build.

J’ai relancé l’installation à nouveau. Par contre il faut plus que 1Go de RAM ou mettre du swap car chez moi ça plante avec 1Go RAM uniquement.

petit retour d’expérience:
dans « vérification des packages système » j’ai ça:


et surtout:

sur ce site il est préconisé de ne pas installer via les commandes"pip" et « apt-get », mais plutôt avec ce script d’installation (modifié pour avoir la version 4.6.0):

$ wget https://github.com/Qengineering/Install-OpenCV-Raspberry-Pi-32-bits/raw/main/OpenCV-4-6-0.sh
$ sudo chmod 755 ./OpenCV-4-6-0.sh
$ ./OpenCV-4-6-0.sh

l’installation via ce script c’est bien déroulée.
je ne sais pas si c’est compatible avec le plugin?

Ouf après plusieurs jours de tentatives, j’ai réussi à avoir les dépendances à OK.

Je suis resté sur l’installation standard via pip3 tout en ajoutant quelques paquets que j’ai précisé plus haut. J’ai aussi du ajouter le dépôt piwheels car je n’ai pas réussi à installer numpy sur mon Raspberry.

Par contre, prévoir 4Go de swap, sinon ça plante.

Je peux enfin tester le plugin au lieu de compiler :smiley:

1 « J'aime »

Bon je crois que je dois refaire avec l’installation des paquets demandés, je n’ai pas le support de FFMPEG :

FFMPEG is disabled. Required libraries: libavcodec;libavformat;libavutil;libswscale. Missing libraries: libavcodec;libavformat;libavutil;libswscale

Est-ce que tu peux m’envoyer le json
Je le mettrai à jour en rentrant de vacances

Oui je regarderais pour te fournir ça, je finis les tests. Pour l’instant, le démon est OK, je n’ai juste pas de détection. D’ailleurs quelques remarques :

  • Depuis la page « Configuration des Camera », on peut ajouter une caméra mais pas sauvegarder ;
  • Depuis le panel du plugin, si je fais « Tout télécharger », j’ai une archive.tar.gz, or quand je regarde son contenu, c’est le contenu de core/php/ de Jeedom…
    Pourtant, quand je regarde l’URL, j’ai un autre chemin : http://****/core/php/downloadFile.php?pathfile=/data/facerecognition/le_nom_de_camera/
  • Problème de typo: « Apprentissage du vissage » → « Apprentissage du visage », « Importer les photo de visage vissage » → « Importer les photos de visage », « Nombre d’image détécté » → « Nombre d’image détectée », « detection » → « détection », « Taille minimal du visage a la detection » → « Taille minimale du visage à la détection », « Liste des cameras surveillés » → « Liste des caméras surveillées », « Adress de connexion » → « Adresse de connexion », « Configuration des Camera » → « Configuration des caméras », « Demon » → « Démon », « Reconnaissance facial » → « Reconnaissance faciale »…

J’édite mon message précédent. En effet, j’avais eu des soucis lorsque j’avais crée 2 équipements avec le même nom mais des objets différents (ce qui est possible dans Jeedom). Après investigation, j’ai remarqué que le plugin ne gérait pas les objets. En effet lorsque j’enregistre, l’URL d’upload est http://****/plugins/facerecognition/core/ajax/facerecognition.ajax.php?action=UpladeFacePicture&user=NOM_EQUIPEMENT , donc on a un unique dossier NOM_EQUIPEMENT sur le serveur et aucune référence à l’objet.

Partant de ce principe, j’ai testé sans les objets.
Depuis le panel, dans Apprentissage du visage, j’ai tenté de charger une image, j’ai ça dans la requête : http://*****/plugins/facerecognition/core/ajax/facerecognition.ajax.php?action=UpladeFacePicture&user=undefined , pourquoi undefined au lieu du nom de l’équipement ?
Si je charge une image depuis la page de l’équipement, dans Lancer, j’ai bien « Photo correctement importé », le dossier est bien crée avec l’image dedans. Quand je retourne sur la page « Apprentissage du visage » du panel, je vois toutes les images importées quelque soit le visage sélectionné. De plus, les images de prévisualisation sont vide et quand je tente de voir l’URL, ça me donne ce chemin http://*******/core/php/downloadFile.php?pathfile=/var/www/html/plugins/facerecognition/core/ajax/…/…/data/dataset//NOM_EQUIPEMENT/ pour toutes les images. Le téléchargement donne un fichier NOM_EQUIPEMENT impossible à ouvrir.