查看版本号

python3 --version

安装 pip

Py2

sudo easy_install pip

~ pip --version
pip 20.3.4 from /Users/xxx/Library/Python/2.7/lib/python/site-packages/pip (python 2.7)

./Library/Python/2.7/lib/python/site-packages


Py3

python -m pip install --upgrade pip

curl https://bootstrap.pypa.io/get-pip.py | python3

pip3 --version
pip 20.2.3 from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip (python 3.8)

安装步骤

pip install -i https://pypi.douban.com/simple robotframework==3.1
或者
pip install robotframework

pip install -i https://pypi.douban.com/simple robotframework-ride==1.7.4.2
或者
pip install -U https://github.com/robotframework/RIDE/archive/master.zip

pip3 install requests

pip install robotframework-requests

pip install robotframework-seleniumlibrary==3.0.0

pip install robotframework-appiumlibrary

pip3 install pytest

pip3 install pymysql

pip3 install robotframework-databaselibrary

rebot --version

robot --version

sudo chmod -R 777 /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/

各种镜像下载

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple requestsLibrary
pip install requestsLibrary -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
pip install requestsLibrary
pip install -i https://pypi.douban.com/simple/simple requestsLibrary
pip install -i https://pypi.douban.com/simple requestsLibrary
pip install -i https://mirrors.aliyun.com/pypi/simple requestsLibrary
pip install -i https://pypi.mirrors.ustc.edu.cn/simple requestsLibrary
pip install -U https://github.com/robotframework/RIDE/archive/master.zip
pip list


↙↙↙阅读原文可查看相关链接,并与作者交流