python - 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?
解决方案
推荐阅读
- angular - Angular HTTP Service 返回结果埋在一个对象中,如何添加类型?
- user-interface - 如何在剑道网格中设置默认文本=“在此处搜索”占位符
- alamofire - 上传多部分文件完成块
- mvvmcross - mvvmcross - 如何为多个 ViewModel 实现单个视图或为多个视图实现单个 ViewModel
- reactjs - 无法在 React Native 应用程序中使用 React.memo
- android - 如何摆脱每个项目末尾的“TextView”?
- ios - 键盘隐藏标签栏
- python - 通过 pandas 数据框从 excel 文件生成查询
- javascript - 如何处理 Node.js MySql ETIMEDOUT 错误?
- excel - Excel-VBA 获取现有单元格的设计代码