其他分享
首页 > 其他分享> > 搭建matplotlib

搭建matplotlib

作者:互联网

遇到问题:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spyder 4.2.5 requires pyqt5<5.13, which is not installed.
spyder 4.2.5 requires pyqtwebengine<5.13, which is not installed.
conda-repo-cli 1.0.4 requires pathlib, which is not installed.

安装对应的库:参考https://blog.csdn.net/qq_43210957/article/details/103812433

(base) C:\windows\System32>pip install --user pyqt5==5.12.0
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Collecting pyqt5==5.12.0
  Downloading https://mirrors.aliyun.com/pypi/packages/a7/83/9acca4c6cc220f29607d857d87bcc1bd645daa4c5f8cff9958f60c5228a8/PyQt5-5.12-5.12.1_a-cp35.cp36.cp37.cp38-none-win_amd64.whl (49.4 MB)
     |████████████████████████████████| 49.4 MB 47 kB/s
Collecting PyQt5_sip<4.20,>=4.19.14
  Downloading https://mirrors.aliyun.com/pypi/packages/9b/ca/f61051460610126dc89b354345c8319183cae938ed87b51ba03ba03f2a1e/PyQt5_sip-4.19.19-cp38-none-win_amd64.whl (52 kB)
     |████████████████████████████████| 52 kB 168 kB/s
Installing collected packages: PyQt5-sip, pyqt5
  WARNING: The scripts pylupdate5.exe, pyrcc5.exe and pyuic5.exe are installed in 'D:\Users\11137042\AppData\Roaming\Python\Python38\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spyder 4.2.5 requires pyqtwebengine<5.13, which is not installed.
Successfully installed PyQt5-sip-4.19.19 pyqt5-5.12

(base) C:\windows\System32>pip install --user pyqtwebengine==5.12.0
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Collecting pyqtwebengine==5.12.0
  Downloading https://mirrors.aliyun.com/pypi/packages/fd/7f/22ac09d307b57eb79e87bd86c4ce34d039bd7ff872a2b9de52bfa530bb75/PyQtWebEngine-5.12-5.12.1-cp35.cp36.cp37.cp38-none-win_amd64.whl (47.8 MB)
     |████████████████████████████████| 47.8 MB 92 kB/s
Requirement already satisfied: PyQt5>=5.12 in d:\users\11137042\appdata\roaming\python\python38\site-packages (from pyqtwebengine==5.12.0) (5.12)
Requirement already satisfied: PyQt5_sip<4.20,>=4.19.14 in d:\users\11137042\appdata\roaming\python\python38\site-packages (from PyQt5>=5.12->pyqtwebengine==5.12.0) (4.19.19)
Installing collected packages: pyqtwebengine
Successfully installed pyqtwebengine-5.12

总结缺了那个库就装哪个库,看报错提示

标签:pyqtwebengine,pypi,PyQt5,5.12,matplotlib,https,packages,搭建
来源: https://blog.csdn.net/qq_42888201/article/details/119423495