zoukankan      html  css  js  c++  java
  • win7 64位系统下安装autoitlibrary库遇到问题解决

    转载来自http://blog.sina.com.cn/s/blog_53f023270101skyq.html

    今天需要在win7 64位系统下安装autoitlibrary库,起初安装好了robotframework框架,导入selenium2lib也没有问题,之后开始安装autoitlibrary库。
    从下载地址:http://download.csdn.net/detail/liuheng123456/6236097 中下载AutoItLibrary-1.1_x64的安装压缩包。
    解压压缩包后,在dos命令下,进入到解压的AutoItLibrary目录,如:把 AutoItLibrary-1.1_x64解压到E盘下,就执行cd E:AutoItLibrary-1.1_x64。
    执行python setup.py install 安装AutoItLibrary到python27的lib库下面。
    利用robotframework导入AutoItLibrary库,始终展现为错误信息,无法正常导入。
    上网查询资料发现,win7系统下仍旧需要安装autoit程序,robotframework才能正常导入AutoItLibrary库。
    查找autoit下载地址:
    下载auto_it_3.3.12.exe最新版本安装。
     
    安装完成后仍旧不能正常导入AutoItLibrary库,郁闷中,再次查找资料,发现需要重新注册一下autoit的AutoItX3.dll文件才行。
    利用cmd进入AutoItX3.dll文件所在路径,运行系统注销和系统注册命令:
    c:Python27Libsite-packagesAutoItLibrarylib>regsvr32 /u AutoItX3.dll
    c:Python27Libsite-packagesAutoItLibrarylib>regsvr32 /s AutoItX3.dll
     
    运行成功后,重新利用robotframework导入AutoItLibrary库,成功导入。win7 <wbr>64位系统下安装autoitlibrary库遇到问题解决
     
  • 相关阅读:
    R 语言
    Maven
    IntelliJ IDEA
    Windows Terminal
    pip
    批处理编程案例
    Windows DOS命令批处理脚本
    Day15 T1 库特的向量
    Day12 T1 少女觉
    Day10 T2 邦德
  • 原文地址:https://www.cnblogs.com/tangsong41/p/10552260.html
Copyright © 2011-2022 走看看