为机器人框架安装AutoIt

问题描述 投票:0回答:4

我正在尝试为Robot Framework安装AutoIt库,我已经尝试过使用pip命令命令pip install robotframework-autoitlibrary,但这没有用。然后,我下载并安装了AutoIt library,但无法打开。

为什么我不能使用图书馆?

python autoit robotframework
4个回答
2
投票

有两个原因可能导致您的安装无法正常工作: 1.您尚未安装ActivePython,我认为您没有安装。 2.您需要安装32位版本的Python或AutoIt won't actually work

如果这些修复程序不起作用,请发表评论,我会尝试进一步提供帮助


0
投票

Step1。请确保已安装autoit-v3-setup.exe,pywin32-220.win-amd64-py2.7.exe。Step2。在安装AutoItLibrary-1.1时,必须在Administrator cmd中运行“ python setup.py install”。Step.3如果遇到任何问题,请添加错误消息,这将非常有用。 希望这会对您有所帮助。


0
投票
I had the same issue but resolved by following the below steps.
1. Download the file from below path "https://pypi.org/project/robotframework-autoitlibrary/#files"
2. Unzip and run the "setup.py" file from the command prompt as administrator by using the below command "python setup.py install".
3. Open your ride editor and import the library with the name "AutoItLibrary".
It worked for me with below versions
robotframework==3.1.2
robotframework-autoitlibrary==1.2.5
robotframework-seleniumlibrary==4.3.0
robotframework-ride==1.7.4.1
selenium 3.141.0

-1
投票

我在Windows上安装支持python 3的最新版本1.2.2时遇到了一些麻烦,这是由于路径中的空白为Program Files:https://code.google.com/archive/p/robotframework-autoitlibrary/issues/30我希望它对某人有帮助,该修复程序基本上是在路径周围加引号

© www.soinside.com 2019 - 2024. All rights reserved.