簡體   English   中英

嘗試在 Macbook 上安裝 PyQt 設計器時出錯

[英]Error while trying to install PyQt designer on Macbook

我已經在我的 Macbook 上安裝了 PyQt5,但是當我嘗試運行命令來安裝工具時,我收到如下錯誤:

ERROR: Could not find a version that satisfies the requirement pyqt5-plugins<5.15.2.3,>=5.15.2.2 (from pyqt5-tools) (from versions: none)
ERROR: No matching distribution found for pyqt5-plugins<5.15.2.3,>=5.15.2.2 (from pyqt5-tools)

這是完整的輸入和 output:

(base) _-Air:Chess-Final _$ pip3.7 install pyqt5-tools
Collecting pyqt5-tools
  Using cached pyqt5_tools-5.15.2.3.0.2-py3-none-any.whl (28 kB)
ERROR: Could not find a version that satisfies the requirement pyqt5-plugins<5.15.2.3,>=5.15.2.2 (from pyqt5-tools) (from versions: none)
ERROR: No matching distribution found for pyqt5-plugins<5.15.2.3,>=5.15.2.2 (from pyqt5-tools)
WARNING: You are using pip version 20.2.3; however, version 20.3.3 is available.
You should consider upgrading via the '/usr/local/bin/python3.7 -m pip install --upgrade pip' command.

我曾嘗試從其網站下載 QT 設計器,但由於我想要它供個人使用,我無法獲得它(它需要公司信息)

所以事實證明,pyqt5-tools 僅適用於 Windows,如其網站所示: https://pypi.org/project/pyqt5-tools/

嘗試替代方案,例如 Mac 的 QT-creator: https://www.qt.io/download

這篇文章強烈支持在 macOS Sierra 上使用 Homebrew:Python PyQt

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM