我正在按照以下步骤在 Ubuntu 中安装 RIDE,但最后它给出了一个错误。如何开始?
sudo apt install python2.7
sudo apt install python-pip
echo "deb http://archive.ubuntu.com/ubuntu trusty main universe" | sudo tee /etc/apt/sources.list.d/wily-copies.list
sudo apt update
sudo apt-get install python-wxgtk2.8
sudo -H pip install robot framework
sudo pip install robotframework-ride
错误信息:
Could not find a version that satisfies the requirement Pywin32 (from robotframework-ride) (from versions: )
No matching distribution found for Pywin32 (from robotframework-ride)
该问题已在较新版本中修复。
请参阅有关该问题的答案
您遇到的错误是因为 Pywin32 仅适用于 Windows。以下答案适用于最新版本的python3。
-
sudo apt-get install libgtk-3-dev
. -
sudo apt-get install libjpeg-dev libtiff-dev libsdl2-dev libgstreamer-plugins-base1.0-dev libgl1-mesa-dev libglu1-mesa-dev libwebp-dev libgtk-3-dev libnotify-dev freeglut3-dev
-
pip3 install wxPython==4.2.1
-
pip3 install robotframework-ride