首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Msys2升级破坏python2-pyqt 5

Msys2升级破坏python2-pyqt 5
EN

Stack Overflow用户
提问于 2020-04-17 05:03:09
回答 1查看 243关注 0票数 2

我使用的msys2来自PortableApps,下面是Win 10。

当我尝试使用pacman -Syuu进行完全升级时,我将

代码语言:javascript
复制
:: 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

EN

回答 1

Stack Overflow用户

发布于 2020-04-27 18:43:06

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

  • 重新安装python,这些包可能会帮助

如果不是,

  • 将问题包降级为早期版本可能有帮助。

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61264463

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档