安装tldr出错ERROR:python setup.py egg_info

2025-10-20 07:49:10

1、安装tldr出错ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for f

安装tldr出错ERROR:python setup.py egg_info

2、可以从以上报错信息中得出结论:

这里出现两个问题:

第一需要你更新 pip 版本需要使用'pip install --upgrade pip' command.

第二是 setuptools 版本太旧,所以出现以下问题Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-G9yO9Z/tldr/,也是需要你更新 

3、使用“pip install—upgrade pip”命令进行pip版本升级。

        [xiaokang@localhost ~]$ sudo pip install --upgrade pip

4、使用“ pip install --upgrade setuptools”命令进行setuptools 版本升级。

      [xiaokang@localhost ~]$ sudo pip install --upgrade setuptools

5、解决完后便可以成功安装上tldr

安装tldr出错ERROR:python setup.py egg_info

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢