问题背景

在ContOS服务器上测试项目

解决方案

谷歌查询

解决步骤

  1. 降低matplotlib版本至2.2.2
pip3 install matplotlib==2.2.2
  1. 出现新的问题,ImportError: Matplotlib qt-based backends require an external PyQt4, PyQt5,PySide or PySide2 package to be installed, but it was not found.
    解决方法:安装PyQt5
pip3 install PyQt5
  1. 安装后仍出现2中的问题,应该是缺少PySide
    解决方法,安装PySide
pip3 install PySide
  1. 安装PySide时报错:Complete output (1 lines):only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)]
    解决方法:安装PySide2
pip3 install PySide2

相关文章:

  • 2022-01-06
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2021-05-26
  • 2021-09-28
  • 2021-08-09
  • 2021-04-26
猜你喜欢
  • 2022-12-23
  • 2021-06-17
  • 2021-11-16
  • 2022-12-23
  • 2022-01-15
相关资源
相似解决方案