Ubuntu Install RobotFramework with Python3
1,安装pip3
sudo apt-get install python3-pip |
2,更新pip
sudo pip3 install --upgrade pip |
3,通过pip3安装robot framework需要的包
sudo pip3 install paramiko robotframework robotframework-sshlibrary robotframework-selenium2library robotframework-requests |
4,安装RIDE
sudo pip3 install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04 wxPython sudo apt-get install git curl libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-2.0-0 sudo pip3 install robotframework-ride |
5,设置环境变量
sudo vi /etc/profile 添加: export PATH=$PATH:/usr/lib:/usr/local/lib export PYTHONPATH=$PYTHONPATH:/home/simon/PycharmProjects/rdb-test/Resource(填写本地RF工程的Resource路径) |