m0_72132740 2022-08-28 23:09 采纳率: 50%
浏览 37
已结题

python3.4安装pyinstaller报错Command "python setup.py egg_info" failed with error code 1 in pyinstaller

问题遇到的现象和发生背景

最近,为了Windows XP的兼容,装了个Python3.4.3
想输入pip install pyinstaller时,又出现个错误

问题相关代码,请勿粘贴截图

pip install pyinstaller -i http://pypi.douban.com/simple

运行结果及报错内容
You are using pip version 6.0.8, however version 22.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
DEPRECATION: --use-mirrors has been deprecated and will be removed in the future. Explicit uses of --index-url and/or --extra-index-url is suggested.
DEPRECATION: --mirrors has been deprecated and will be removed in the future. Explicit uses of --index-url and/or --extra-index-url is suggested.
Collecting pyinstaller
  This repository located at pypi.douban.com is not a trusted host, if this repository is available via HTTPS it is recommend to use HTTPS instead, otherwise you may silence this warning with '--trusted-host pypi.douban.com'.
  DEPRECATION: Implicitly allowing locations which are not hosted at a secure origin is deprecated and will require the use of --trusted-host in the future.
  Downloading http://pypi.doubanio.com/packages/7f/48/a60502c14ebafd3c1af193865141ede851591401287ce739816c99d12af2/pyinstaller-5.3.tar.gz (2.3MB)
    100% |################################| 2.3MB 20.5MB/s
    Traceback (most recent call last):
      File "<string>", line 20, in <module
   Complete output from command python setup.py egg_info:
   Traceback (most recent call last):
     File "<string>", line 20, in <module
     Command "python setup.py egg_info" failed with error code 1 in %Temp%\pip-build-qt68u7nz\pyinstaller

Command "python setup.py egg_info" failed with error code 1 in %Temp\pip-build-qt68u7nz\pyinstaller
我的解答思路和尝试过的方法

重新安装setuptools
但是

还是不行,所以有没有人回答一下,谢谢了。

我想要达到的结果

成功安装

  • 写回答

2条回答 默认 最新

  • 快乐小土狗 2022-08-28 23:55
    关注

    emmm,
    你升级pip试试
    或者卸载pip重新装

    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 8月29日
  • 创建了问题 8月28日

悬赏问题

  • ¥20 c语言写的8051单片机存储器mt29的模块程序
  • ¥60 求直线方程 使平面上n个点在直线同侧并且距离总和最小
  • ¥50 java算法,给定试题的难度数量(简单,普通,困难),和试题类型数量(单选,多选,判断),以及题库中各种类型的题有多少道,求能否随机抽题。
  • ¥50 rk3588板端推理
  • ¥250 opencv怎么去掉 数字0中间的斜杠。
  • ¥15 这种情况的伯德图和奈奎斯特曲线怎么分析?
  • ¥250 paddleocr带斜线的0很容易识别成9
  • ¥15 电子档案元素采集(tiff及PDF扫描图片)
  • ¥15 flink-sql-connector-rabbitmq使用
  • ¥15 zynq7015,PCIE读写延时偏大