【问题标题】:Msys update pyqt from version 5 to version 6Msys 将 pyqt 从版本 5 更新到版本 6
【发布时间】:2021-12-30 11:18:49
【问题描述】:
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 或类似的东西。

【问题讨论】:

    标签: python pyqt5 msys pyqt6


    【解决方案1】:
    1. 首先我关注this solution,但后来又遇到了同样的问题,所以,
    2. 我从 msys2 mingw64 位终端运行 pacman -Qqn | pacman -S - (更新所有软件包),问题解决了。

    希望将来对某人有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-10-20
      • 1970-01-01
      • 1970-01-01
      • 2018-11-05
      • 2019-08-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多