当前位置:   article > 正文

不知为何pycharm python库又不能正常安装了_no matching distribution found for pyqt

no matching distribution found for pyqt

Collecting pyqt5-stubs

  The repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host mirrors.aliyun.com'.
  Could not find a version that satisfies the requirement pyqt5-stubs (from versions: )
No matching distribution found for pyqt5-stubs
You are using pip version 9.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

 

后来翻译了一下:

收集pyqt5-stubs

   位于mirrors.aliyun.com的存储库不是受信任或安全的主机,而是被忽略。 如果此存储库可通过HTTPS使用,则建议使用HTTPS,否则您可能会将此警告静音并允许使用“--trusted-host mirrors.aliyun.com”。
   找不到满足pyqt5-stubs要求的版本(来自版本:)
找不到pyqt5-stubs的匹配分布
您正在使用pip版本9.0.1,但版本19.1.1可用。
您应该考虑通过'python -m pip install --upgrade pip'命令进行升级。

是pip版本的问题:

于是我升级了一下pip

后来发现版本太高不能使用

于是又降级

另外一种方式,降级pip的版本

python -m pip install --upgrade pip==9.0.3

发现有降回去了,不能用了

后来自己乱编了一个版本

python -m pip install --upgrade pip==10.0.0

发现有的东西适合 高版本的,有的适合低版本的pip

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

闽ICP备14008679号