鱼C论坛

 找回密码
 立即注册
查看: 2225|回复: 6

[已解决]安装pyintaller报错

[复制链接]
发表于 2020-2-5 20:55:46 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
大佬们,这个安装pyintaller报错怎么解决啊
ERROR: Command errored out with exit status 1:
   command: 'c:\users\何止\appdata\local\programs\python\python38\python.exe' 'c:\users\何止\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\何止\AppData\Local\Temp\pip-build-env-x_tnj8pn\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel
       cwd: None
  Complete output (4 lines):
  Collecting setuptools>=40.8.0
    Using cached setuptools-45.1.0-py3-none-any.whl (583 kB)
  ERROR: Could not find a version that satisfies the requirement wheel (from versions: none)
  ERROR: No matching distribution found for wheel
  ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\何止\appdata\local\programs\python\python38\python.exe' 'c:\users\何止\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\何止\AppData\Local\Temp\pip-build-env-x_tnj8pn\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.
最佳答案
2020-2-5 21:39:58
用 pipenv 试试?
Pyinstaller 有很多依赖库,比如这里的
'setuptools>=40.8.0' wheel Check the logs for full command output.
应该是说你没有这个轮子
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2020-2-5 21:02:06 | 显示全部楼层
你的 Python 是什么版本的?
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 21:05:41 | 显示全部楼层
你安装的命令是什么?
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-2-5 21:15:06 | 显示全部楼层
C:\Users\何止>pip install pyinstaller
Collecting pyinstaller
  Downloading PyInstaller-3.6.tar.gz (3.5 MB)
     |████████████████████████████████| 3.5 MB 10 kB/s
  Installing build dependencies ... error
就这样报错了
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-2-5 21:17:45 | 显示全部楼层
zltzlt 发表于 2020-2-5 21:02
你的 Python 是什么版本的?

是3.8版本
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 21:39:58 | 显示全部楼层    本楼为最佳答案   
用 pipenv 试试?
Pyinstaller 有很多依赖库,比如这里的
'setuptools>=40.8.0' wheel Check the logs for full command output.
应该是说你没有这个轮子
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 21:57:34 | 显示全部楼层
试试更新一下 setuptools。

  1. pip install -U setuptools
复制代码
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2026-3-4 01:03

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表