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

在Windows 7环境下安装Python 3.8及Robotframework的RIDE库时遇到启动错误。错误信息涉及locale设置不匹配及wxAssertionError。解决方案包括使用pip安装psutil和从GitHub下载RIDE master.zip,然后在下载目录使用python setup.py install进行安装。安装成功后,在Python的Scripts目录下通过python ride.py启动RIDE。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

报错信息

led at ..\..\src\common\intl.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 .
.\..\src\common\wincmn.cpp(470) in wxWindowBase::~wxWindowBase(): any pushed eve
nt handlers must have been removed

解决办法
(1)pip install psutil
        pip install -U --pre robotframework-ride

这个方法从下面的博主看到的:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值