Robotframework 无法安装RobotRide框架

Robotframework 无法安装RobotRide框架,robotframework,robotframework-ide,Robotframework,Robotframework Ide,我正在尝试安装robotframework ride,但安装失败。我尝试了所有可能的选项,但未能解决问题。在windows和ubuntu 18和20中都存在相同的问题 python3 -m pip install robotframework-ride Error running configure ERROR: failed building wxWidgets Traceback (most recent call last): File "build.py&qu

我正在尝试安装robotframework ride,但安装失败。我尝试了所有可能的选项,但未能解决问题。在windows和ubuntu 18和20中都存在相同的问题

python3 -m pip install robotframework-ride

Error running configure
  ERROR: failed building wxWidgets
  Traceback (most recent call last):
    File "build.py", line 1510, in cmd_build_wx
      wxbuild.main(wxDir(), build_options)
    File "/tmp/pip-build-_os0c4ab/wxPython/buildtools/build_wxwidgets.py", line 373, in main
      "Error running configure")
    File "/tmp/pip-build-_os0c4ab/wxPython/buildtools/build_wxwidgets.py", line 85, in exitIfError
      raise builder.BuildError(msg)
  buildtools.builder.BuildError: Error running configure
  Finished command: build_wx (0m2.579s)
  Finished command: build (0m2.579s)
  Command '"/usr/bin/python3" -u build.py build' failed with exit code 1.
  
  ----------------------------------------
  Failed building wheel for wxPython

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_os0c4ab/wxPython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-xws6qhs5-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-_os0c4ab/wxPython/

要在Ubuntu 20.04上安装RIDE,请执行以下操作

sudo apt update
sudo install python3-wxgtk4.0
pip install robotframework-ride
执行骑行

ride.py
您应该咨询,以了解对wxPython的依赖关系

在Windows和Mac上没有问题,但在Linux上,您应该首先从正确的.wheel文件(wxpython.org)安装它

您尝试安装的版本是1.7.4.2,它需要wxPython的版本4.0.7.post2

您可能需要安装
控制盘

pip install wheel