gpt4 book ai didi

python - 在 Windows 7 中使用 pip 安装 pywin32 在 python 3.4.2 中不起作用

转载 作者:IT老高 更新时间:2023-10-28 20:35:11 25 4
gpt4 key购买 nike

大家好,

我尝试在 Windows 7 下通过 pip (1.5.6) 和 python 3.4.2 安装 pywin32,但我总是收到以下错误消息:

Could not find any downloads that satisfy the requirement pywin32
Some externally hosted files were ignored (use --allow-external pywin32 to all
ow).
Cleaning up...
No distributions at all found for pywin32
Storing debug log for failure in C:\Users\tonka\pip\pip.log

使用 pip 的所有其他安装都可以正常工作。在 pypi.org 上有一个 pywin32 的包,所以不太明白为什么会这样。

我也试过这个 --allow-external 标志,但后来出现以下错误

Could not find any downloads that satisfy the requirement pywin32
Some insecure and unverifiable files were ignored (use --allow-unverified pywi
n32 to allow).
Cleaning up...
No distributions at all found for pywin32
Storing debug log for failure in C:\Users\tonka\pip\pip.log

然后我使用了 --allow-unverified 标志,我得到了这个错误

Could not find any downloads that satisfy the requirement pywin32
Cleaning up...
No distributions at all found for pywin32
Storing debug log for failure in C:\Users\tonka\pip\pip.log

在 pip 中是否有适用于 3.4 的 pywin32 的包? pypi-link

有人有同样的问题/行为吗?

编辑:

对于正在寻找通过 pip 安装 pywin32 的方法的任何人。使用包 pypiwin32 而不是pywin32,是同一个包,但是是pip-able

问候
零陵香 bean

最佳答案

在回答您的第一个问题时,似乎没有适用于 python 3.4 的 pip pywin32 包。如果你看看这个页面:url https://pypi.python.org/simple/pywin32/ ,可以看到有一个214_download_url。这表明214版本是最新可用的,214下载目录here不包含任何高于 python 3.1 的安装程序。

在回答您的第二个问题时,是的,我看到与 python 3.4.1 相同的问题/行为。正如@sk11 在评论中提到的,您可以从here 下载安装程序。 . (我无法添加评论,因为我没有代表。)我刚刚尝试了安装程序,它似乎工作正常。

关于python - 在 Windows 7 中使用 pip 安装 pywin32 在 python 3.4.2 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26669972/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com