如何在Win7 64位Python2.7上安装PyAuto?

2024-06-12 13:38:20 发布

您现在位置:Python中文网/ 问答频道 /正文

这里的页面http://www.chromium.org/developers/testing/pyauto#TOC-Running-PyAuto-using-prebuilt-binaries建议使用这里的文件http://commondatastorage.googleapis.com/chromium-browser-continuous/index.html?path=Win/140227/自己安装它,但我不确定我必须做什么。在

我成功地运行了mini_安装程序,将pyauto和_pyauto放入site_包中,并将dll放在system32文件夹中。在

这是我在尝试运行自动用户界面时遇到的错误_测试.exehttp://pastebin.com/Ab0vCCWk

我也不知道这应该在哪里chrome/test/pyautolib/fetch_prebuilt_pyauto.py编辑:在这里找到它http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib/

编辑2:有了“构建”之类的东西,现在我在我设置的路径中有了一组文件。现在,当我尝试导入pyautolib时,我得到了以下错误:ImportError: DLL load failed: %1 is not a valid Win32 application.我想这与我在64位上有关。一般情况下,我会检查一下http://www.lfd.uci.edu/~gohlke/pythonlibs/,它有很多64位的python包,但这次没有了。在

在Windows764位计算机上运行PyAuto需要做什么?


Tags: 文件orgtestsrccomhttp编辑www
1条回答
网友
1楼 · 发布于 2024-06-12 13:38:20

目前64位Chrome上不支持pyAuto http://www.chromium.org/developers/design-documents/64-bit-support

A 64-bit version of Chromium can be built on Linux by using the -Dtarget_arch=x64 flag on the GYP build system. (This is the default on 64-bit Linux systems.)

The 64-bit version of the V8 JavaScript engine used by Chromium can be built separately using the arch=x64 flag in v8's Scons build system. This works on both the Linux and Mac OS X platforms.

Neither Chromium nor V8 has a 64-bit version on the Windows platform right now. However, Chrome does run on 64-bit Windows as a 32-bit application. V8 should only need a small number of changes to build on the Windows platform.

相关问题 更多 >