参考网址:https://www.cnblogs.com/yinrw/p/5837828.html
因为自己安装了py,网上教程都是统一安装py2.7开始的。
所以这里总结下安装笔记:cmd命令界面进行安装
1.py安装目录Scripts文件夹下,安装pip(已安装的可以忽略)
easy_install.exe pip
cmd中输入pip,测试是否安装成功
2.在py的根目录下安装以下Package,Library
Package:WxPython,PyCrypto,Robot Framwork,robotframework-ride,decorator
pip install -U wxPython pip install -U PyCrypto pip install robotframework pip install robotframework-ride pip install decorator
※安装PyCrypto报错:“Can't find vcvarsall.bat”,说明电脑缺少响应的VC,需要确认VC版本后安装VC,再安装PyCrypto(目前我自己没解决,但是这个包不安装,不会影响工具使用)
Library:robotframework-selenium2library,robotframework-archivelibrary,robotframework-SSHLibrary,robotframework-ftplibrary
pip install robotframework-selenium2library pip install robotframework-archivelibrary pip install robotframework-SSHLibrary pip install robotframework-ftplibrary
4.RobotFramework 的安装工作已经完成,“pip list”查看已经安装的包,库
pip list
5.同样在更目录下输入“ride.py”,即可打开Robot Framework的工作台
ride.py