首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Msys将pyqt从版本5更新到版本6

Msys将pyqt从版本5更新到版本6
EN

Stack Overflow用户
提问于 2021-11-19 17:53:10
回答 1查看 52关注 0票数 0
代码语言:javascript
复制
Active code page: 1253

Χρήστος Παππάς@DESKTOP-8T1C1VF MSYS /g
$ pacman -S mingw-w64-x86_64-python-pyqt6
warning: mingw-w64-x86_64-python-pyqt6-6.2.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) mingw-w64-x86_64-python-pyqt6-6.2.0-1

Total Installed Size:  23.19 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                     [#####################] 100%
(1/1) checking package integrity                   [#####################] 100%
(1/1) loading package files                        [#####################] 100%
(1/1) checking for file conflicts                  [#####################] 100%
(1/1) checking available disk space                [#####################] 100%
:: Processing package changes...
(1/1) reinstalling mingw-w64-x86_64-python-pyqt6   [#####################] 100%

Χρήστος Παππάς@DESKTOP-8T1C1VF MSYS /g
$ pacman -S mingw-w64-x86_64-python-pyqt6-sip
warning: mingw-w64-x86_64-python-pyqt6-sip-13.1.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) mingw-w64-x86_64-python-pyqt6-sip-13.1.0-1

Total Installed Size:  0.13 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                     [#####################] 100%
(1/1) checking package integrity                   [#####################] 100%
(1/1) loading package files                        [#####################] 100%
(1/1) checking for file conflicts                  [#####################] 100%
(1/1) checking available disk space                [#####################] 100%
:: Processing package changes...
(1/1) reinstalling mingw-w64-x86_64-python-pyq...  [#####################] 100%

Χρήστος Παππάς@DESKTOP-8T1C1VF MSYS /g
$ python
Python 3.9.6 (default, Aug 15 2021, 14:49:43)  [GCC 10.3.0 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt6
>>> from PyQt6 import QtCore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed while importing QtCore: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη διαδικασία.
>>> exit()

Χρήστος Παππάς@DESKTOP-8T1C1VF MSYS /g

我正在尝试将pyqt版本从5更新到6。但是缺少一些dll :(。有人能帮帮我吗?

注意:Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη διαδικασία.的翻译是It is not possible to determine the determined process或类似的东西。

EN

回答 1

Stack Overflow用户

发布于 2021-11-19 23:03:09

  1. 首先我关注this solution,但后来和PyQt5也有同样的问题,所以,
  2. 我从msys2 mingw64位终端运行pacman -Qqn | pacman -S - (更新所有包),问题解决了。

希望这能对将来的人有所帮助。

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

https://stackoverflow.com/questions/70038965

复制
相关文章

相似问题

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