Python安装pyqt5-tools失败

1.python的版本是3.10.2

2.背景是:想用python+pyqt5来学习python 的GUI编程的,

3.在安装pyqt5-tools时报错如下:

C:Usersj65d5>pip install pyqt5-tools
Collecting pyqt5-tools
Using cached pyqt5_tools-5.15.4.3.2-py3-none-any.whl (29 kB)
Collecting pyqt5==5.15.4
Using cached PyQt5-5.15.4.tar.gz (3.3 MB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
Traceback (most recent call last):
File “C:Python310libsite-packagespip_vendorpep517in_process_in_process.py”, line 156, in prepare_metadata_for_build_wheel
hook = backend.prepare_metadata_for_build_wheel
AttributeError: module ‘sipbuild.api’ has no attribute ‘prepare_metadata_for_build_wheel’

Du

你可能感兴趣的:(面试,学习路线,阿里巴巴,python,qt,pycharm,ui)