Mac 系统安装robot framework

1.安装Python3 版本

2.安装robotframework:pip3 install robotframework

3.安装Pypubsub:pip3 install Pypubsub

4.安装wxpython:pip3 install wxPython==4.0.3

5.安装Pygments:pip3 install Pygments

6.安装robotframeworklexer:pip3 install robotframeworklexer

7.下载ride:https://pypi.org/project/robotframework-ride/#files,我用的是robotframework-ride-1.7.3.1.zip

8.解压之后,进入解压目录;新建文件:vi requirements.txt

   输入内容:

wxPython

# Only for Windows to have a shortcut created (install before RIDE)

Pywin32; sys_platform == 'win32'

Pygments # This enables syntax highlighted in Text Editor

robotframeworklexer # Updates lexer to newer RF 3.1.1

robotframework

Pypubsub==3.3.0 ; python_version <= '2.7'

Pypubsub ; python_version > '2.7

9.保存文件

10.输入命令:python3 setup.py install

11.进入目录:cd /Library/Frameworks/Python.framework/Versions/3.7/bin/

12.python3 ride.py 即可启动robot

转载于:https://www.cnblogs.com/huangjiaxiaoluobo/p/10739699.html

你可能感兴趣的:(Mac 系统安装robot framework)