EVO突然用不了,已解决

最近需要用evo画点图,结果用的时候出问题了,没办法可视化。。

具体报错:

[ERROR] Unhandled error in evo.main_traj
Traceback (most recent call last):

ImportError: Failed to import any of the following Qt 
binding modules: PyQt6, PySide6, PyQt5, PySide2

[ERROR] evo module evo.main_traj crashed - no logfile
 written (disabled)

下面是我尝试的一些博客,但是对我没啥用:

evo装成功了,但是报错evo module evo.main_traj crashed - no logfile written (disabled)_evo报错-CSDN博客

evo测试工具错误: evo module evo.main_traj crashed - no logfile written (disabled)_evo no logfile written-CSDN博客

Unhandled error in evo.main_traj和evo module evo.main_traj crashed - no logfile written (disabled)-CSDN博客

想了一下,还是直接用conda来解决:

借駐conda安裝evo-CSDN博客

部分人可能到上面一步就已经解决问题了,但是我还是上述报错。

仔细看了一下报错内容,好像是matplotlib出问题了:

1. 解决方法:重装,或者降低matplotlib版本

#重新安装
python -m pip uninstall matplotlib
python -m pip install --upgrade pip
python -m pip install matplotlib
 
#降低版本
python -m pip uninstall matplotlib
python -m pip --no-cache-dir install -U matplotlib==2.2.2

------但是还是解决不了我的问题-----

2. 可能是PyQt以及PySide有问题:

查看是否能安装PyQt5:先终端python一下,然后
import PyQt5

如果不能import,安装:
python -m pip install PyQt5

-----我到这里就解决了-----
如果还没解决,安装PySide:
python -m pip install -U PySide

参考下述博客解决的我的问题:

解决python ImportError: Failed to import any qt binding_importerror: failed to import any of the following-CSDN博客

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值