2012-06-03 92 views
0

这里的页面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/来自己安装它,但我不完全确定我要做什么。如何在Win7 64bit Python2.7上安装PyAuto?

我成功运行mini_installer,将pyauto和_pyauto放入site_packages中,并在system32文件夹中放入dll。

这是我的错误,当我尝试运行我也无法找出在这被认为是chrome/test/pyautolib/fetch_prebuilt_pyauto.py编辑automated_ui_test.exe http://pastebin.com/Ab0vCCWk

:在这里找到http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib/

EDIT2:得到它'建立'或什么的,现在我有一组文件在我设置的路径。现在,当我尝试导入pyautolib时,出现以下错误:ImportError: DLL load failed: %1 is not a valid Win32 application.我认为这与我在64位上有关。通常,当发生这种情况时,我会检查http://www.lfd.uci.edu/~gohlke/pythonlibs/,它有很多64位Python包,但这次不是。

在Windows 7,64位机器上运行PyAuto需要做什么?

回答

0

有64位的Chrome目前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.

为pyAuto不支持