简体   繁体   English

如何为 64 位 Windows 安装 pywinauto

[英]How to install pywinauto for 64-bit Windows

I have installed Python 2.7.10 on my 64-bit Windows machine.我已经在我的 64 位 Windows 机器上安装了 Python 2.7.10。 When I tried to install pywinauto via pip command it shows some warning in green colour.当我尝试通过pip命令安装 pywinauto 时,它会以绿色显示一些警告。

Then I tried to download (pywinauto 0.5.4) and ran the command but it shows the error: Could not find suitable distribution for Requirement.parse('pypiwin32') .然后我尝试下载 (pywinauto 0.5.4) 并运行该命令,但它显示错误: Could not find suitable distribution for Requirement.parse('pypiwin32')

I have also downloaded pywinauto 64-bit via https://github.com/pywinauto/pywinauto and ran the command python setup.py install .我还通过https://github.com/pywinauto/pywinauto下载了 pywinauto 64 位并运行命令python setup.py install

The output is: Error: Could not find suitable distribution for Requirement.parse('setuptools-scm')输出是: Error: Could not find suitable distribution for Requirement.parse('setuptools-scm')

It was some change in pypiwin32 package.这是 pypiwin32 包的一些变化。 Now it's restored (even better than previously because it's wheels) for Python versions before 3.6.现在它已为 3.6 之前的 Python 版本恢复(甚至比以前更好,因为它是轮子)。 See https://pypi.python.org/pypi/pypiwin32/219 and try pip install pywinauto again.请参阅https://pypi.python.org/pypi/pypiwin32/219并再次尝试pip install pywinauto

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM