zoukankan      html  css  js  c++  java
  • RIDE安装操作(二)

    robotframework+ride+python3.8 环境搭建

    1、安装python3.8,可先根据 python -V 来查看 是否安装及安装版本;

     如果未安装,可在链接 https://www.python.org/ftp/python/3.8.0/  中进行下载安装;

     2、pip 安装

    pip install robotframework
    pip install Pypubsub==3.3.0
    pip install robotframework-ride
    pip install robotframework-seleniumlibrary
    pip list //检查是否安装成功

     备注:默认pip 源比较慢 推荐临时使用国内源

    pip install robotframework -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
    pip install Pypubsub==3.3.0 -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
    pip install robotframework-ride -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
    pip install robotframework-seleniumlibrary -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com

    3、安装过程中或执行 python ride.py 报错(如下图),可根据提示打开错误的文件:d:installpython38libsite-packages obotideapplicationapplication.py ,
    添加 self.locale = wx.Locale(wx.LANGUAGE_ENGLISH)

     

    def OnInit(self):
    # DEBUG To test RTL
    # self._initial_locale = wx.Locale(wx.LANGUAGE_ARABIC)
    self._initial_locale = wx.Locale(wx.LANGUAGE_ENGLISH)
    # Needed for SetToolTipString to work
    wx.HelpProvider.Set(wx.SimpleHelpProvider()) # TODO adjust to wx versions
    self.locale = wx.Locale(wx.LANGUAGE_ENGLISH)             // 添加此行代码
    self.settings = RideSettings()
    librarydatabase.initialize_database()
    self.preferences = Preferences(self.settings)
    self.namespace = Namespace(self.settings)
    self._controller = Project(self.namespace, self.settings)
    self.frame = RideFrame(self, self._controller)
    self._editor_provider = EditorProvider()
    self._plugin_loader = PluginLoader(self, self._get_plugin_dirs(),
    coreplugins.get_core_plugins())
    self._plugin_loader.enable_plugins()

  • 相关阅读:
    (转)ab(apachebench)测试与loadrunner
    hibernate学习总结
    Oracle 11G在用EXP 导入、导出时,若有空表对导入导出中遇到的问题的解决
    Nginx可以做什么
    Oracle的表空间、用户和表的区别和联系
    oracle11g 导出表报EXP-00011:table不存在。
    tomcat、nginx、apache、tengine都是什么,及其作用
    注解和依赖注入框架
    js中innerHTML与innerText的用法与区别
    Linux中 /boot 目录介绍
  • 原文地址:https://www.cnblogs.com/suhongzhen/p/14652326.html
Copyright © 2011-2022 走看看