报错信息
led at ....srccommonintl.cpp(1694) in wxLocale::GetInfo(): You probably call
ed setlocale() directly instead of using wxLocale and now there is a mismatch be
tween C/C++ and Windows locale.
Things are going to break, please only change locale by creating wxLocale object
s to avoid this!
OnInit returned false, exiting...
Error in atexit._run_exitfuncs:
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed at .
...srccommonwincmn.cpp(470) in wxWindowBase::~wxWindowBase(): any pushed eve
nt handlers must have been removed
解决办法
(1)pip install psutil
pip install -U --pre robotframework-ride
这个方法从下面的博主看到的:
robotframework安装与运行(ride.py1.7.4.2命令报错)(win10+python3.8.1) - 336699强强 - 博客园https://www.cnblogs.com/336699qiangqiang/p/13397834.html我电脑由于只能离线所以我得先pip install psutil 然后从地址下载master.zip包https://github.com/robotframework/RIDE/archive/master.ziphttps://github.com/robotframework/RIDE/archive/master.zip然后进入目录Scripts,用python setup.py install 进行安装
安装成功后
进入python的Scripts目录,python ride.py就可以成功启动了



