Successfully installed PyQt-builder-1.13.0 packaging-21.3 ply-3.11 pyparsing-3.0.9 setuptools-65.3.0 sip-6.6.2 toml-0.10.2
Cleaning up...
Removing source in /tmp/pip-install-2gmr_frd/sip
Removed build tracker: '/tmp/pip-req-tracker-vuj8lfsc'
Installing build dependencies ... done
Running command /usr/bin/python3 /tmp/tmppi_h1r7x get_requires_for_build_wheel /tmp/tmpx88x82dh
Getting requirements to build wheel ... done
Created temporary directory: /tmp/pip-modern-metadata-b__1na9b
Running command /usr/bin/python3 /tmp/tmpwp46ffki prepare_metadata_for_build_wheel /tmp/tmpxrg1n2t9
Querying qmake about your Qt installation...
This is the GPL version of PyQt 5.15.7 (licensed under the GNU General Public License) for Python 3.8.2 on linux.
Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.
Run Code Online (Sandbox Code Playgroud)
但我无法输入任何文字,就停在那里了。这是一台 aarch64 机器。
nin*_*ics 30
我遇到了同样的问题,因为我的平台(Macbook w/ OSX Arm64)没有安装轮子。当 pip 没有轮子可以工作时,它会尝试从源代码进行编译。通过将 --config-settings 参数传递给 pip,您可以将参数传递给将在编译期间使用的configure.py。幸运的是 pyqt 有一个参数可以自动接受许可证 --confirm-license。但是,pip 期望参数采用 Key=value 形式,因此您需要传递 --confirm-license= (即没有值),它将起作用。花了一段时间(大约 30 多分钟),但我终于安装了 pyqt5。
这是我使用的命令:
pip3 install pyqt5 --config-settings --confirm-license= --verbose
Run Code Online (Sandbox Code Playgroud)
希望这可以帮助。
归档时间: |
|
查看次数: |
6627 次 |
最近记录: |