当前位置:网站首页>Command errored out with exit status 1类似问题解决方案
Command errored out with exit status 1类似问题解决方案
2022-08-03 05:27:00 【寻找永不遗憾】
在使用pip install onnx时遇到如下错误:
Building wheels for collected packages: onnx
Building wheel for onnx (setup.py) … error
ERROR: Command errored out with exit status 1:
command: /home/users/yuxuan.wei/env/env1/bin/python -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-t2jk_rl6/onnx_460e3fe0fd4241829e6bd153039e173b/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-t2jk_rl6/onnx_460e3fe0fd4241829e6bd153039e173b/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-foccssk2
一堆提示,提炼定位到ERROR: Command errored out with exit status 1:,安装包的版本和Python版本不匹配的报错,如何解决呢?
使用命令查看Python版本:
python -V

到Python装包网站上去搜对应包的版本即可,例子如下:
边栏推荐
猜你喜欢

【随笔】平常心

Unity Animation从UAS获取动画资产到编制状态机控制简单的人物动画

ESXI主机给虚拟机添加USB加密狗设备

用DirectX12绘制一个几何体的程序详述

内网渗透之PPT票据传递攻击(Pass the Ticket)

游戏3D建模师是吃青春饭的吗?被高薪挖掘的建模人才,靠的是这个

How the world's leading medical technology company maximizes design productivity | SOLIDWORKS Product Exploration

【随笔】我为啥想写无关紧要的随笔?

详解SSL证书的分类以及如何选择合适的证书?

2021-06-14
随机推荐
What is parametric design, let's understand it through practical operation?| SOLIDWORKS How-To Videos
内网渗透之PPT票据传递攻击(Pass the Ticket)
2021-06-14
Monitoring Oracle11gR2 in Zabbix6.0 of OracleLinux8.6
【3D建模制作技巧分享】ZBrush快捷键如何设置
2021-06-20
【3D建模制作技巧分享】ZBrush快捷键如何设置
BurpSuite 进阶玩法
各种cms getshell技巧
2021-06-15
cobalt strike 的基础使用
2021-06-15
SQLMAP介绍及使用
VLAN虚拟局域网技术
嘿!selenium自动下载driver版本,得知道一下
权限管理 UGO 、 ACL 、特殊权限
Dynamic adjustment of web theme (2) Extraction
Oracle常用命令-基本命令
contos安装php-ffmpeg和tp5.1使用插件
域名怎么管理,域名管理注意事项有哪些?