【发布时间】:2018-05-14 12:35:45
【问题描述】:
我有一台 Mac 笔记本电脑并在 Eclipse Oxygen 版本中安装了 RED。当我尝试在 Eclipse 中运行 .robot 文件时,我看到弹出运行时环境错误消息“无法提供有效的 RED 环境。检查 python/机器人安装并在首选项中设置它”。我在 Windows 机器上没有看到这个问题。
【问题讨论】:
-
您检查过环境变量和/或搜索过这个问题吗?这似乎是 RED 环境的配置问题
-
您是否验证了作为您的项目配置的 red.xml 指向 Python 解释器?
-
我在 Eclipse-> Preferences 中设置了路径。但是现在我在从 Eclipse 运行 .robot 文件时看到错误“项目没有活动的运行时环境”
-
我已经在 Installed Frameworks 中设置了路径。现在,当我运行 .robot 文件时,我看到错误“WebDriverException:消息:'chromedriver' 可执行文件需要在 PATH 中。请参阅sites.google.com/a/chromium.org/chromedriver/home。”我已将 Chromedriver 复制到 Python 2.7 文件夹。
标签: eclipse macos robotframework