升级PIP
python -m pip install --upgrade pip
在线安装robotframwork
pip install robotframework --trusted-host pypi.douban.com -i http://pypi.douban.com/simple/
在线安装wxpython
pip install wxpython
pip install robotframework-seleniumlibrary --trusted-host pypi.douban.com -i http://pypi.douban.com/simple/(web)
pip install robotframework-requests(接口)
pip install robotframework-appiumlibrary(app)
pip install robotframework-databaselibrary(链接数据库)
pip install cx_Oracle(操作Oralce数据库)
pip install PyMySQL(操作Mysql数据库)
pip install openpyxl(操作EXCEL)
pip list【可检查安装测试库列表】
python3.8及以上安装robotframework-ride版本
pip install -U https://github.com/robotframework/RIDE/archive/master.zip
python3.7 roboframework环境搭建ride启动失败,images报错,解决办法
修改D:\Python38\Lib\site-packages\robotide\application\application.py中
self._initial_locale = wx.Locale(wx.LANGUAGE_ENGLISH)
改为:
self.locale = wx.Locale(wx.LANGUAGE_ENGLISH) 后,ride可正常打开。