[Msys2升级中断了python2-pyqt5

问题描述 投票:2回答:1

我正在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。

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

注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个回答
0
投票

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

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

如果不是,则>

  • 将有问题的软件包降级到以前的版本可能会有所帮助。
  • 再一次不确定

是否有帮助,但我至少希望它能为您指明正确的方向。
© www.soinside.com 2019 - 2024. All rights reserved.