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

时间:2014-10-31 08:07:03

标签: python pip pywin32

HY @大家,

我尝试在Windows 7下使用python 3.4.2通过pip(1.5.6)安装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

是否有针对pywin32 for 3.4的pip包? pypi-link

是否有人有同样的问题/行为?

修改

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

问候
通卡

1 个答案:

答案 0 :(得分:6)

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

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