码迷,mamicode.com
首页 > 系统相关 > 详细

Mac 系统安装robot framework

时间:2019-04-20 09:28:18      阅读:463      评论:0      收藏:0      [点我收藏+]

标签:file   txt   for   window   安装   https   ref   解压   frame   

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

Mac 系统安装robot framework

标签:file   txt   for   window   安装   https   ref   解压   frame   

原文地址:https://www.cnblogs.com/huangjiaxiaoluobo/p/10739699.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!