【问题标题】:Msys2 upgrade breaks python2-pyqt5Msys2 升级中断 python2-pyqt5
【发布时间】:2020-04-17 05:03:09
【问题描述】:

我在 Win 10 下使用 PortableApps 的 msys2。

当我尝试使用 pacman -Syuu 进行全面升级时,我得到了

:: Synchronizing package databases...
 mingw32                                                                   456.6 KiB   773 KiB/s 00:01 [###########################################################] 100%
 mingw32.sig                                                               119.0   B  0.00   B/s 00:00 [###########################################################] 100%
 mingw64                                                                   459.4 KiB   792 KiB/s 00:01 [###########################################################] 100%
 mingw64.sig                                                               119.0   B  0.00   B/s 00:00 [###########################################################] 100%
 msys is up to date
:: Starting core system upgrade...
 there is nothing to do
:: Starting full system upgrade...
:: Replace bzr with msys/breezy? [Y/n] n
:: Replace mingw-w64-x86_64-pygobject-devel with mingw64/mingw-w64-x86_64-python-gobject? [Y/n] y
:: Replace mingw-w64-x86_64-pyqt5-common with mingw64/mingw-w64-x86_64-python-pyqt5? [Y/n] y
:: Replace python3-appdirs with msys/python-appdirs? [Y/n] y
:: Replace python3-attrs with msys/python-attrs? [Y/n] y
:: Replace python3-packaging with msys/python-packaging? [Y/n] y
:: Replace python3-pip with msys/python-pip? [Y/n] y
:: Replace python3-pyparsing with msys/python-pyparsing? [Y/n] y
:: Replace python3-setuptools with msys/python-setuptools? [Y/n] y
:: Replace python3-six with msys/python-six? [Y/n]
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing mingw-w64-x86_64-pyqt5-common breaks dependency 'mingw-w64-x86_64-pyqt5-common' required by mingw-w64-x86_64-python2-pyqt5                                    

在我看来,我无法保留 python2-qt5。

有什么解决方法吗? 我可以继续回答,但我想我应该在某个时候放弃。

注1:不知道是否与报告为需要更新的软件包和Msys2 with python 3.8: ImportError: cannot import name 'open_code' from 'io'有任何联系

注意 2:我从来没有使用pip 安装任何软件包,但总是使用pacman

【问题讨论】:

    标签: python python-2.7 pyqt5 upgrade msys2


    【解决方案1】:

    不完全确定如何解决您的问题,但我可以想象

    • 重新安装 python 和这些包可能会有所帮助

    如果没有,

    • 将有问题的软件包降级到以前的版本可能会有所帮助。

    再次不确定这是否会有所帮助,但我至少希望它能为您指明正确的方向。

    【讨论】:

      猜你喜欢
      • 2021-01-23
      • 2020-06-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-31
      • 2015-06-12
      • 2023-03-25
      • 1970-01-01
      相关资源
      最近更新 更多