键入命令在Debian上安装Robotframework ride时出现错误:
data want(keep=person date relapse);
* DOW loop computes assertion that relapse occurred;
relapse = 0;
do _n_ = 1 by 1 until (last.person);
set crimes; * <-------------- CRIMES;
by person date;
* check if persons first crime was in 2017;
if _n_ = 1 and year(date) = 2017 then _first = date;
* check if persons second crime was within 1 year of first;
if _n_ = 2 and _first then relapse = intck('year', _first, date, 'C') < 1;
end;
* at this point the relapse flag has been computed, and its value
* will be repeated for each row output;
* serial loop over same number of rows in the group, but
* read in through a second SET statement;
do _n_ = 1 to _n_;
set crimes; * <-------------- CRIMES;
output;
end;
run;
错误是:
pip3 install robotframework--ride
顺便说一句,当我不在Windows上时提到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
python3`,而且我读过很多主题,它可能会带来问题,所以这可能是我遇到此错误的原因...
答案 0 :(得分:1)
能否请您尝试下面提到的以下两个步骤? 根据此RIDE-doc,如果不在Windows上,则需要执行以下操作。
摘录自发行说明
注意:提到的安装过程 RIDE-RELEASE-NOTES仅可在Windows上正常运行。
对于其他操作系统,最好分两步安装:
pip install -U -r https://raw.githubusercontent.com/robotframework/RIDE/master/requirements.txt
pip install -U robotframework-ride
答案 1 :(得分:1)
该问题已在尚未发布的版本中修复。 有关安装建议,请参见Release Notes for v1.7.4b2。请先安装wxPython。
很快就会发布新版本。
答案 2 :(得分:0)
尝试以上安装。
pip3 install robotframework-根据给定的说明,骑乘仅适用于Windows。显然,Pywin32用于在Windows中创建桌面快捷方式。