PyQt5已安装提示No module named ‘PyQt5.QtChart‘

C:\Users\Administrator>pip3 search pyqtchart
PyQtChart (5.15.2)  - Python bindings for the Qt Charts library
QCharted (1.1.2)    - Plotting large data series using PyQtChart.

C:\Users\Administrator>pip install pyqtchart
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pyqtchart
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/99/cf/ed4ef7282435783ed635188f1f800852496fa689918cc45c
001f6d2f7287/PyQtChart-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-none-win32.whl (761kB)
    100% |████████████████████████████████| 768kB 2.7MB/s
Collecting PyQt5>=5.15 (from pyqtchart)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b7/3e/a10c682f8ee33583cdc86a0d0eafe82b39156be3771abaa2
19b6e50251cd/PyQt5-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-none-win32.whl (48.9MB)
    100% |████████████████████████████████| 48.9MB 1.1MB/s
Requirement already satisfied: PyQt5-sip<13,>=12.8 in e:\python\python37-32\lib\site-packages (from pyqtchart)
(12.8.1)
pyqt5-tools 5.13.0.1.5 has requirement pyqt5==5.13.0, but you’ll have pyqt5 5.15.2 which is incompatible.
Installing collected packages: PyQt5, pyqtchart
  Found existing installation: PyQt5 5.13.0
    Uninstalling PyQt5-5.13.0:
      Successfully uninstalled PyQt5-5.13.0
Successfully installed PyQt5-5.15.2 pyqtchart-5.15.2

C:\Users\Administrator>pip3 search pyqtchart
PyQtChart (5.15.2)  - Python bindings for the Qt Charts library
  INSTALLED: 5.15.2 (latest)
QCharted (1.1.2)    - Plotting large data series using PyQtChart.
————————————————
版权声明:本文为CSDN博主「回到未来望过去」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/viviliving/article/details/110731799

猜你喜欢

转载自blog.csdn.net/weixin_44517301/article/details/115194463