【发布时间】: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