Command errored out with exit status 1: python setup.py egg_info Check the logs for full command ou 2021-04-28 16:56:19

安装paddlehub出错:

 Command errored out with exit status 1: python setup.py egg_info Check the logs for full command ou

解决方式:

更新pip和setuptools

pip install --upgrade pip
pip install --upgrade setuptools
MacOS下 安装 xgboost和lightGBM报错,之前 安装 成功,换了 python 环境后 安装 失败 信息如下: ERRO R: Command erro red ou t with exit status 1: command : /Users/shuzip/opt/anaconda3/bin/ python -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘”’”’/private/tmp/pip-install-iebpqutp/xgboost/ setup.py ’”’”’; file=’”’”’/private/tmp/pip-install- 在pip 安装 过程中,如果遇到 ERRO R: Command erro red ou t with exit status 1: python setup.py egg _ info Check the log s for full command ou tput. 执行以下命令即可解决 pip install --user pytest-runner 今天 安装 gevent时出现 ERRO R: Command erro red ou t with exit status 1,后面还有一堆错误,好像是说“文件”、setup啊之类的,我在网上花了两小时查了很多方法(例如:升级pip、升级setuptool,然而并没用,难受),最后终于找到一个解决我问题的办法。 1、进入https://www.lfd.uci.edu/~gohlke/ python libs/,该网址按照首字母排序,找到自己对应的版本下载下来(我是用的3.8,64位,即下面第一个): Gevent: a cor ou tine-based networking library based o python 安装 torch时遇到 ERRO R: Command erro red ou t with exit status 1: 之前用pycharm运行github上一个模型时,遇到了import torch失败的问题,而且用pip 安装 失败。我根据网上的教程我的博客里有详细教程用Anaconda 安装 了torch,问题确实得到了解决,torch 安装 成功。紧接着再运行模型时就发现了更多的错误,研究了很久发现是之前 安装 的torch版本有问题。再用pip 安装 就出现了上面的错误。 看到出现了这么多乱七八糟的东西就很慌,找了一下午,终于找到了最终的解决方法: 查看自己的 python 版本 点开自己的pyc 本身整个项目都在服务器上运行,但是在本地测试的时候发现有些依赖包导入不正确,显示无法 安装 更致命的是无法查看源函数进行学习,为此在 安装 部分包的时候出现如下错误出现如下问题 截图如下所示: 一开始看到这一串 erro r的时候,以为是这个错误: ERRO R: Command erro red ou t with exit status 1: python setup.py egg _ info Check the log s for full command ou tput.其实不是,仔细看这个错误日志,会找到这两串错误: ERRO R: Command erro red ou t with exit status 1: python setup.py egg _ info Check the log s for full comm我在ubuntu20 安装 mysqlclient时出现这种错误,经过一段查找终于找到解决方法 我在ubuntu20 安装 mysqlclient时出现这种错误,经过一段查找终于找到解决方法 ERRO R: Command erro red ou t with exit status 1: command : / 安装 库是发生错误: ERRO R: Command erro red ou t with exit status 1: python setup.py egg _ info Check the log s for full command ou tput. 经过检查后发现使我 安装 的版本太高的原因,调低版本就解决了。 Paddle Serving作为飞桨(PaddlePaddle)开源的服务化部署服务化方案,提供了C++ Serving和 Python Pipeline两套框架,旨在帮助深度学习开发者和企... !pip install paddlehub ==1.6.0 -i https://pypi.tuna.tsinghua.edu.cn/simple Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Requirement already satisfied: paddlehub ==1.6.0 in /opt/conda/envs/ python 35-paddle120-env/lib/ python 3.7/sit 我发现自己的Debug能力还是不行,特别是环境上的一些问题,以后一定要把错误的内容通读!!!!!通读!!!!! 我现在是在 安装 mmcv,像这里的错误,核心内容是一个WARNING和两个 ERRO R,WARNING的内容一般是不重要的,然后看看 ERRO R,大概就是pytest-runner的版本找不到,尝试 安装 一波: pip install --user pytest-runner 就好了,这错误我找... ERRO R: Command erro red ou t with exit status 1: python setup.py egg _ info Check the log s for full comman pip install --upgrade setuptools && python -m pip install --upgrade pip 然后继续 安装 文章目录前言一、刷机、开机等基本环境配置可以参考如下文章我的环境信息二、源码编译 安装 paddlepaddle1.编译前准备工作2.首先编译 安装 NCCL3.测试方法三、Jetson Xavier NX 安装 paddlehub 1. paddlehub 无法直接pip 安装 ,报错如下2.源码编译 安装 sentencepiece3.pip 安装 PaddleHub 四、paddleocr 工程效果五、我遇到的问题六、其他可能遇到的问题参考资料 百度人工智能框架 paddlepaddle 官方显示不支持ARM64设备,Jet