PaddlePaddle / PaddleHub

Awesome pre-trained models toolkit based on PaddlePaddle. (400+ models including Image, Text, Audio, Video and Cross-Modal with Easy Inference & Serving)【安全加固,暂停交互,请耐心等待】
https://www.paddlepaddle.org.cn/hub
Apache License 2.0
12.72k stars 2.08k forks source link

Jetson AGX pip安装paddlehub卡死在安装后端依赖一步 #1574

Open kractics opened 3 years ago

kractics commented 3 years ago

N$Q) YK7Y4U{K@NW053V@Y9

kractics commented 3 years ago

而后出现下列满屏红色error (以下为开始部分)

ERROR: Command errored out with exit status 1: command: /home/wrj/mambaforge/envs/test/bin/python3.6 /home/wrj/mambaforge/envs/test/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-3hh1492j/normal --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'Cython>=0.29; python_version < "3.8"' 'numpy==1.14.5; python_version == "3.7"' pkgconfig 'numpy==1.12; python_version == "3.6"' 'Cython>=0.29.14; python_version >= "3.8"' 'numpy==1.19.3; python_version >= "3.9"' 'numpy==1.17.5; python_version == "3.8"' cwd: None Complete output (2699 lines): Ignoring numpy: markers 'python_version == "3.7"' don't match your environment Ignoring Cython: markers 'python_version >= "3.8"' don't match your environment Ignoring numpy: markers 'python_version >= "3.9"' don't match your environment Ignoring numpy: markers 'python_version == "3.8"' don't match your environment Collecting Cython>=0.29 Using cached Cython-0.29.24-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.9 MB) Collecting pkgconfig Using cached pkgconfig-1.5.5-py3-none-any.whl (6.7 kB) Collecting numpy==1.12 Using cached numpy-1.12.0.zip (4.8 MB) Building wheels for collected packages: numpy Building wheel for numpy (setup.py): started Building wheel for numpy (setup.py): still running... Building wheel for numpy (setup.py): still running... Building wheel for numpy (setup.py): still running... Building wheel for numpy (setup.py): still running... Building wheel for numpy (setup.py): finished with status 'error' ERROR: Command errored out with exit status 1: command: /home/wrj/mambaforge/envs/test/bin/python3.6 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s92h1qdk/numpy_2e5cd5e1f85a4233a5f1986747b9d50a/setup.py'"'"'; file='"'"'/tmp/pip-install-s92h1qdk/numpy_2e5cd5e1f85a4233a5f1986747b9d50a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-jxb5jio4 cwd: /tmp/pip-install-s92h1qdk/numpy_2e5cd5e1f85a4233a5f1986747b9d50a/ Complete output (2288 lines): Running from numpy source directory. blas_opt_info: blas_mkl_info: libraries mkl_rt not found in ['/home/wrj/mambaforge/envs/test/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu'] NOT AVAILABLE

blis_info:
  libraries blis not found in ['/home/wrj/mambaforge/envs/test/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

openblas_info:
  FOUND:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/home/wrj/mambaforge/envs/test/lib']
    language = c
    define_macros = [('HAVE_CBLAS', None)]

  FOUND:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/home/wrj/mambaforge/envs/test/lib']
    language = c
    define_macros = [('HAVE_CBLAS', None)]

/bin/sh: 1: svnversion: not found
non-existing path in 'numpy/distutils': 'site.cfg'
/bin/sh: 1: svnversion: not found
F2PY Version 2
lapack_opt_info:
lapack_mkl_info:
  libraries mkl_rt not found in ['/home/wrj/mambaforge/envs/test/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

openblas_lapack_info:
customize UnixCCompiler
C compiler: gcc -pthread -B /home/wrj/mambaforge/envs/test/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

creating /tmp/tmpbpoam8g2/tmp
creating /tmp/tmpbpoam8g2/tmp/tmpbpoam8g2
compile options: '-c'
gcc: /tmp/tmpbpoam8g2/source.c
/tmp/tmpbpoam8g2/source.c:1:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 void zungqr();
 ^~~~
/tmp/tmpbpoam8g2/source.c: In function ‘main’:
/tmp/tmpbpoam8g2/source.c:4:13: warning: implicit declaration of function ‘zungqr_’; did you mean ‘zungqr’? [-Wimplicit-function-declaration]
             zungqr_();
             ^~~~~~~
             zungqr
gcc -pthread -B /home/wrj/mambaforge/envs/test/compiler_compat -Wl,--sysroot=/ /tmp/tmpbpoam8g2/tmp/tmpbpoam8g2/source.o -L/home/wrj/mambaforge/envs/test/lib -lopenblas -o /tmp/tmpbpoam8g2/a.out
  FOUND:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/home/wrj/mambaforge/envs
nepeplwu commented 3 years ago

@kractics 看着是安装依赖包numpy的时候失败了,你试试自行安装numpy是否可以成功

pip install numpy
kractics commented 3 years ago

我试着pip重新安装了numpy 好像还是同样的错误