1.通过pip安装xlutils-2.0.0.tar.gz失败,报如下错误
pip install setup.py
ERROR: Could not find a version that satisfies the requirement setup.py (from versions: none)
ERROR: No matching distribution found for setup.py

2.通过pip在线安装xlutils失败,报如下错误:
pip install xlutils
WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an OSError: [WinError 2] 系统找不到指定的文件。: 'C:\\Python310\\Scripts\\margins.exe' -> 'C:\\Python310\\Scripts\\margins.exe.deleteme'

3.通过pip3 install xlutils安装成功
pip3 install xlutils

这篇博客记录了在尝试使用pip安装xlutils库时遇到的两个问题及解决方案。首先,通过pip安装xlutils-2.0.0.tar.gz时,出现了找不到合适版本的错误。然后,直接使用pip安装xlutils也失败,提示无法写入可执行文件并导致OSError。最终,通过pip3成功安装了xlutils。
1295

被折叠的 条评论
为什么被折叠?



