首页 > 解决方案 > pip install pymsgbox offline 总是失败

问题描述

我需要通过离线安装在 Windows 上发布我的 python 应用程序,但是安装 pymsgbox 时失败:

c:\Users\admin\Desktop\python3\pip>pip3.6 install --no-index --find-links=.\ pymsgbox==1.0.9

看链接:。
收集 pymsgbox==1.0.9 安装构建依赖项...错误命令“c:\program files\python36\python.exe”的完整输出 -m pip install --ignore-installed --no-user --prefix C: \Users\admin\AppData\Local\Temp\pip-build-env-gahbccbj --no-warn-script-location --no-binary :none: --only-binary :none: --no-index -- find-links .\ -- setuptools>=38.2.5 wheel: 查看链接: .
正在收集 setuptools>=38.2.5 正在收集轮子找不到满足要求轮子的版本(来自版本:)没有找到轮子的匹配分布


命令 ""c:\program files\python36\python.exe" -m pip install --ignore-installed --no-user --prefix C:\Users\admin\AppData\Local\Temp\pip-build-env -gahbccbj --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links .\ -- setuptools>=38.2.5 wheel" 失败错误代码为 1 无

我已经安装了 setuptools>=38.2.5

c:\Users\admin\Desktop\python3\pip>pip3.6 list | findstr setuptools

安装工具 42.0.2

如果我在线安装 pymsgbox,它会成功:

c:\Users\admin\Desktop\python3\pip>pip3.6 install  pymsgbox==1.0.9 -i https://pypi.tuna.tsinghua.edu.cn/simple

查看索引:https : //pypi.tuna.tsinghua.edu.cn/simple 收集 pymsgbox==1.0.9 使用缓存https://pypi.tuna.tsinghua.edu.cn/packages/7d/ff/4c6f31a4f08979f12a663f2aeb6c8b765d3bd592e66eaaac445f547bb875/ PyMsgBox-1.0.9.tar.gz 安装构建依赖项...完成安装收集的包:pymsgbox运行setup.py install for pymsgbox ...完成成功安装pymsgbox-1.0.9

为什么在已经满足的情况下还需要 setuptools?

标签: pythonpip

解决方案


推荐阅读