在MacOS上安装RobotFramework环境
方法1.
安装到Mac系统自带的Python2.7的路径下:
easy_install.py是默认安装,Terminal端输入:sudo easy_install pip
pip install RobotFramework
方法2.
安装在Python3的路径下:
step1
安装:curl https://bootstrap.pypa.io/get-pip.py | python3
Terminal会报warning信息,如下:
WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.
You should consider upgrading via the ‘/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m pip install --upgrade pip’ command.
step2.
按照上面的警示信息在Terminal输入命令:/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m pip install --upgrade pip
等待出现如下提示即安装成功。(successfully installed pip-21.3.1)
step3
查阅pip安装的版本