RobotFramework之AutoItLibrary导入失败经验分享

AutoItLibrary 导入失败经验分享

  • Python版本: python37
  • 安装pywin32
    • 下载pywin32,使用与python版本匹配的版本号
    • 或者使用命令pip install pywin32
  • 安装 AutoItLibray
    * 可在百度上下载AutoItLibray,使用命令安装: pip setup.py install
    * 可直接使用命令:pip install robotframework-AutoitLibray
  • 安装AutoIt (autoit-v3-setup.exe)
    下载地址:http://soft.onlinedown.net/soft/11009.htm
    以上环境准备就绪后
    存在问题:Eclipse上无法导入AutoItLibray

解决办法:

  • 删除pywin32,autoit-v3-setup.exe,AutoItlibrary
    • pip uninstall pywin32
    • 卸载autoit-v3-setup.exe
    • pip uninstall robotframework-autoitlibrary
  • 重新安装pywin32,autoit-v3-setup.exe,AutoItlibrary
    • pip install pywin32
    • 安装autoit-v3-setup.exe
    • pip install robotframework-autoitlibrary
  • 重启eclipse,成功导入autoitlibrary

你可能感兴趣的:(Robotframework,学习经验记录,AutoIt,robotframework)