当前位置:   article > 正文

运行Python程序出现的PyQt5模块问题_sublime中failed to import any qt binding

sublime中failed to import any qt binding

今天使用了sublime导入Python项目,在调试过程中,遇到了以下问题:
Failed to import any qt binding
尝试方法1:在cmd窗口依次输入下列命令,即可解决上述问题。

pip uninstall matplotlib
python -m pip install --upgrade pip
pip install matplotlib
  • 1
  • 2
  • 3

但是仍未解决问题,继而继续查找,尝试方法2:

pip3 install PyQt5 -i https://pypi.douban.com/simple
  • 1

提示错误:qt.qpa.plugin: Could not find the Qt platform plugin “windows” in “”
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""

才知道加上 https://pypi.douban.com/simple 后缀,使用国内服务器下载更快速。

未解决上一个问题,正在尝试解决中。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/312184
推荐阅读
相关标签
  

闽ICP备14008679号