我正在关注这个拥抱脸 github(https://github.com/huggingface/transformers/tree/master/examples/pytorch/summarization)进行总结,但无法从需求中安装包。
使用的命令:
pip install -r requirements.txt
为了您的信息,我正在尝试这个 Intel oneapi devcloud。请找到以下错误。
env: ‘pkg-config’: No such file or directory
Failed to find sentencepiece pkg-config
----------------------------------------
ERROR: Command "/home/uxxxxx/.conda/envs/env/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/home/uxxxx/tmp/pip-install-ld2o4xe1/sentencepiece/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /home/uxxxxx/tmp/pip-record-tl0qz8f6/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /home/uxxxxx/tmp/pip-install-ld2o4xe1/sentencepiece/
Please use "pip install --user <package>" to install user packages.
Please visit the forums at: https://software.intel.com/en-us/forums/intel-devcloud
提前致谢!