Jetson Xavier NX安装PaddleHub1.8.2报错
Created by: hang245141253
欢迎您反馈PaddleHub使用问题,非常感谢您对PaddleHub的贡献! 在留下您的问题时,辛苦您同步提供如下信息:
- 版本、环境信息 1)PaddleHub和PaddlePaddle版本:请提供您的PaddleHub和PaddlePaddle版本号,例如PaddleHub1.4.1,PaddlePaddle1.6.2 2)系统环境:请您描述系统类型,例如Linux/Windows/MacOS/,python版本
- 复现信息:如为报错,请给出复现环境、复现步骤
PaddleHub:v1.8.2
PaddlePaddle:v2.0.0 Beta
ARMLinux
Python3.6
nx@nx-desktop:~/Downloads$ pip3 install paddlehub Defaulting to user installation because normal site-packages is not writeable Collecting paddlehub Downloading paddlehub-1.8.2-py3-none-any.whl (336 kB) |████████████████████████████████| 336 kB 214 kB/s Requirement already satisfied: pandas; python_version >= "3" in /usr/lib/python3/dist-packages (from paddlehub) (0.22.0) Collecting flask>=1.1.0 Using cached Flask-1.1.2-py2.py3-none-any.whl (94 kB) Requirement already satisfied: tqdm in /home/nx/.local/lib/python3.6/site-packages (from paddlehub) (4.49.0) Collecting sentencepiece Using cached sentencepiece-0.1.91.tar.gz (500 kB) ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s_aw3i44/sentencepiece/setup.py'"'"'; file='"'"'/tmp/pip-install-s_aw3i44/sentencepiece/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-p6wyy_8t cwd: /tmp/pip-install-s_aw3i44/sentencepiece/ Complete output (5 lines): Package sentencepiece was not found in the pkg-config search path. Perhaps you should add the directory containing `sentencepiece.pc' to the PKG_CONFIG_PATH environment variable No package 'sentencepiece' found Failed to find sentencepiece pkgconfig ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.