栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > C/C++/C#

在win7上安装python3.8 + Robotframework -RIDE,启动报错

C/C++/C# 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

在win7上安装python3.8 + Robotframework -RIDE,启动报错

报错信息

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就可以成功启动了

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/931935.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号