You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
机器华为昇腾910b机器,安装paddleX,在执行paddlex --install 报错
报错信息:
Collecting safetensors (from -r /tmp/tmpgr5ue_nk/requirements.txt (line 23))
Using cached safetensors-0.4.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (3.8 kB)
ERROR: Could not find a version that satisfies the requirement tool_helpers (from versions: none)
ERROR: No matching distribution found for tool_helpers
Traceback (most recent call last):
File "/usr/bin/paddlex", line 33, in
sys.exit(load_entry_point('paddlex', 'console_scripts', 'paddlex')())
File "/work/paddle_ocr/PaddleX/paddlex/paddlex_cli.py", line 109, in main
install(args)
File "/work/paddle_ocr/PaddleX/paddlex/paddlex_cli.py", line 85, in install
setup(
File "/work/paddle_ocr/PaddleX/paddlex/repo_manager/core.py", line 194, in setup
installer.install(
File "/work/paddle_ocr/PaddleX/paddlex/repo_manager/repo.py", line 259, in install
self.install_deps(constraints=constraints)
File "/work/paddle_ocr/PaddleX/paddlex/repo_manager/repo.py", line 302, in install_deps
install_packages_using_pip(
File "/work/paddle_ocr/PaddleX/paddlex/repo_manager/utils.py", line 68, in install_packages_using_pip
return _check_call(args)
File "/work/paddle_ocr/PaddleX/paddlex/repo_manager/utils.py", line 25, in _check_call
return subprocess.check_call(*args, **kwargs)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.9', '-m', 'pip', 'install', '-r', '/tmp/tmpgr5ue_nk/requirements.txt']' returned non-zero exit status 1.
描述问题
机器华为昇腾910b机器,安装paddleX,在执行paddlex --install 报错
报错信息:
Collecting safetensors (from -r /tmp/tmpgr5ue_nk/requirements.txt (line 23))
Using cached safetensors-0.4.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (3.8 kB)
ERROR: Could not find a version that satisfies the requirement tool_helpers (from versions: none)
ERROR: No matching distribution found for tool_helpers
Traceback (most recent call last):
File "/usr/bin/paddlex", line 33, in
sys.exit(load_entry_point('paddlex', 'console_scripts', 'paddlex')())
File "/work/paddle_ocr/PaddleX/paddlex/paddlex_cli.py", line 109, in main
install(args)
File "/work/paddle_ocr/PaddleX/paddlex/paddlex_cli.py", line 85, in install
setup(
File "/work/paddle_ocr/PaddleX/paddlex/repo_manager/core.py", line 194, in setup
installer.install(
File "/work/paddle_ocr/PaddleX/paddlex/repo_manager/repo.py", line 259, in install
self.install_deps(constraints=constraints)
File "/work/paddle_ocr/PaddleX/paddlex/repo_manager/repo.py", line 302, in install_deps
install_packages_using_pip(
File "/work/paddle_ocr/PaddleX/paddlex/repo_manager/utils.py", line 68, in install_packages_using_pip
return _check_call(args)
File "/work/paddle_ocr/PaddleX/paddlex/repo_manager/utils.py", line 25, in _check_call
return subprocess.check_call(*args, **kwargs)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.9', '-m', 'pip', 'install', '-r', '/tmp/tmpgr5ue_nk/requirements.txt']' returned non-zero exit status 1.
复现
参考拉取910b推荐镜像,并执行该链接下pip命令安装paddlepaddle及 paddle_custom_npu
git clone https://github.com/PaddlePaddle/PaddleX.git 拉取最新paddleX代码
cd PaddleX
pip install -e .
paddlex --install
执行到此步骤时报了上述错误信息
环境
昇腾910b3机器,linux aarch64系统,拉取镜像https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta/docs/tutorials/INSTALL_OTHER_DEVICES.md
The text was updated successfully, but these errors were encountered: